i’m using the sound object to load an mp3 and stream it. the object doesn’t seem to be responding to the “stop” “start”, etc. methods of the sound object.
when you set a sound object to stream do you lose control over that sound’s playback?
the AS dictionary says this:
event sounds are completely loaded before they play. they are managed by the actionscript sound class and respond to all methods and properties of this class
for streaming sound it says:
steaming sounds play while they are downloading, playback begines in when sufficient data has been received to start the decompressor…
this seems to imply that you cannot control streaming sounds via the sound object???
i need to stream an mp3 and want to have a button that lets the user stop the sound if it’s playing and start it again if it’s stopped. should be super easy right? apparently i’m screwing something up…
the sound object streaming get’s playing no problem then i simply reference the object in my functions like this:
nextTune="music/"+mp3ToLoad;
tunes.loadSound(nextTune, true);
_root.tunePlaying=true;
tunes.setVolume(0);
_root.holder.loadMovie(movieToLoad);
gotoAndPlay("preload");
stopSound=function(){
tunes.stop();
_root.tunePlaying=false;
}
startSound=function(){
tunes.loadSound(nextTune, true);
tunes.setVolume(100);
_root.tunePlaying=true;
}
HELP!!!