AS3 - Stop All Sounds?

Hello-

I’m newly transitioning from AS2 to AS3 and wondering how to stopAllSounds();.

Right now I have a container movie with an array that loads in several external files in sequence. I would like the back/next buttons to kill the sound when clicked (where I used to use stopAllSounds), but for some reason the code I’m using doesn’t seem to be working. Right now I’m using SoundMixer.stopAll(); in the button functions, but the sound still plays from the previous file, even when the new one is loaded.

Is there something else I should be adding here to stop the sound?

Thanks much! :grin: