Groups | Blog | Home
all groups > flash actionscript > february 2004 >

flash actionscript : Pausing the Sound Object


ill-d
2/9/2004 9:30:26 PM
I have not seen any one add this feature to a Flash MP3 Player and maybe it's
because either, one it cannot be done, or two, the amount of code that it would
take to make it work would not be worth it in the long run

Anyways, what I am looking for is a way to pause an MP3 stream that is loaded
by "Sound.loadSound(mp3Path, true)". I have attempted to store the
"Sound.position" on(release) of the "pauseButton" and then call the
"Sound.start(positionStored)", but I also have an "onSoundComplete" function
attached to the sound object, and when calling "Sound.start(positionStored)" it
envokes the "onSoundComplete" function instead of re-starting the stream at the
specified "offset"

Any information or ideas on this topic, or anything else, would be greatly
appreciated

Thanks
ill-
ill-d
2/9/2004 10:23:51 PM
AddThis Social Bookmark Button