# Sound Control

**URL:** <https://forum.kirupa.com/t/sound-control/246642>\
**Category:** Uncategorized\
**Created:** [December 13, 2007, 12:38am UTC](https://forum.kirupa.com/t/sound-control/246642 "2007-12-13T00:38:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr\_beef](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@Mr\_beef](https://forum.kirupa.com/u/Mr_beef)\
**Post date:** [December 13, 2007, 12:38am UTC](https://forum.kirupa.com/t/sound-control/246642/1 "2007-12-13T00:38:53Z")

</div>

I have an external swf files which contains my music for my game. That way it doesn’t mess up my preloader :D. It uses the code like:  
[AS]  
\_root.startTune = new Sound(this);  
\_root.startTune.attachSound(“startTune”);  
[/AS]

And on my fla of my main game, not the fla for the sound, I use a blank mc to load it by \_root.soundHolder.loadMovie(“externalSound.swf”). I then use \_root.startTune.play() etc to start it playing. The problem I get is when in later frame it wont turn off. I have tried pan, volume, setVolume and stop() but they all effect all the sounds, where I just want to turn off the one rather than all. I heard something about creating emptyMovieClips for each sound but I lost that page and have no clue what to do there.
