Well, I didnt know that there is no stopAllSounds() in AS3 compared to AS2 world. But ofcourse you need this method most of the time to stop all the sounds playing in a movie irrespective of the source or hierarchy.
The stop all sound functionality exists, but moved to a new safe place, called the ‘SoundMixer’ class. Why in SoundMixer? No idea.
SoundMixer.stopAll()
is going to do the trick for you.
I always used to feel that why playing sound in AS 3.0 is so complicated. You have to use Sound, SoundChannel, and SoundTransform to write a basic Audio Player. At times SoundMixer tooo.
hey, vipin thank u!! it worked!!
syam
28 Jul 10 at 7:17 am