# SoundMixer.stopall() but background music

**URL:** <https://forum.kirupa.com/t/soundmixer-stopall-but-background-music/258522>\
**Category:** flash\
**Created:** [April 24, 2008, 5:38pm UTC](https://forum.kirupa.com/t/soundmixer-stopall-but-background-music/258522 "2008-04-24T17:38:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bluedamaged](https://avatars.discourse-cdn.com/v4/letter/b/258eb7/32.png) [@bluedamaged](https://forum.kirupa.com/u/bluedamaged)\
**Post date:** [April 24, 2008, 5:38pm UTC](https://forum.kirupa.com/t/soundmixer-stopall-but-background-music/258522/1 "2008-04-24T17:38:33Z")

</div>

I have project that requires the audio/visual to sync. I have a main swf that loads other external swfs (which has streaming sync Sound). So, to load ‘movie 2’ I have to call the following function:

function clickHandler2(event:MouseEvent):void  
{  
SoundMixer.stopAll();  
request.url = “movie2.swf”;  
loader.load(request);  
}

Problem is this stops the background music in the main swf. Is there a way just to stop the loaded swf sound and not background music? I tried loader.SoundMixer.stopAll() but only get errors.
