Name

SoundMC() (as2)

Synopsis

JavaScript: SoundMC
Type: Function
Access: private
Runtimes: as2
Topic: Kernel.AS2
Declared in: WEB-INF/lps/lfc/kernel/swf/LzSoundMC.as

Description

Wraps the streaming MP3 loader in a movieclip-like API. Used for proxyless mp3 audio loading.

Details

Methods (19)

getBytesLoaded()
private function getBytesLoaded();
getBytesTotal()
private function getBytesTotal();
getCurrentTime()
private function getCurrentTime();
getID3()
private function getID3();
getPan()
private function getPan(p);
getTotalTime()
private function getTotalTime();
getVolume()
private function getVolume(v);
gotoAndPlay()
private function gotoAndPlay(f);
gotoAndStop()
private function gotoAndStop(f);
init()
private function init(mc);
loadDone()
private function loadDone(success);
loadMovie()
private function loadMovie(reqstr);
play()
private function play();
seek()
private function seek(secs, playing);
setPan()
private function setPan(p);
setVolume()
private function setVolume(v);
stop()
private function stop();
testPlay()
private function testPlay();
unload()
private function unload();

Prototype Properties (6)

_currentframe
private var _currentframe = 0.0;
_fps
private var _fps = 30;
_framesloaded
private var _framesloaded = 0.0;
isaudio
private var isaudio = true;
loadstate
private var loadstate = 0.0;
_totalframes
private var _totalframes = 0.0;

JavaScript Synopsis

private function SoundMC(mc);