# stopAll()

**URL:** <https://forum.kirupa.com/t/stopall/237470>\
**Category:** flash\
**Created:** [August 30, 2007, 4:35pm UTC](https://forum.kirupa.com/t/stopall/237470 "2007-08-30T16:35:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alemieux34](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@alemieux34](https://forum.kirupa.com/u/alemieux34)\
**Post date:** [August 30, 2007, 4:35pm UTC](https://forum.kirupa.com/t/stopall/237470/1 "2007-08-30T16:35:48Z")

</div>

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:

```auto

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

```

Is this not possible?
