stopAll()

I have some theme music playing in a movie at frame 1. When the user clicks a button to go to the next part of the timeline, I want to stop that theme music from playing. I wrote the following function and then called it in the frame, but it’s not working:


function stopSounds(event:Event):void {
    SoundMixer.stopAll();
}
stopAll();

Is this not possible?