# Controlling sound from an externally loaded swf

**URL:** https://forum.kirupa.com/t/controlling-sound-from-an-externally-loaded-swf/166221
**Category:** Uncategorized
**Created:** [October 18, 2005, 6:42am UTC](https://forum.kirupa.com/t/controlling-sound-from-an-externally-loaded-swf/166221 "2005-10-18T06:42:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jvolvovski](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@jvolvovski](https://forum.kirupa.com/u/jvolvovski)
#### Post date: [October 18, 2005, 6:42am UTC](https://forum.kirupa.com/t/controlling-sound-from-an-externally-loaded-swf/166221/1 "2005-10-18T06:42:25Z")

</div>

hello,  
here’s my problem.  
i have a file called main.swf that has background music.  
(below is how the music is loaded)

```auto
mySound = new Sound();
mySound.attachSound("Music");
mySound.start(0, 100);

```

and an external.swf that loads into main.swf

external.swf gets loaded on a button click and at the same time it’s loaded the background sound of main.swf is stopped.

all of this works fine.

but when i try to start the sound again with a button in external.swf the sound doesn’t start playing.  
(below is how i call on the sound to start playing again)

```auto
_root.mySound.start(0, 100);

```

this seems so excruciatingly simple but i haven’t been able to get it to work for 2 full days.

i’ve tried mySound = new Sound(this); and that doesn’t seem to help.

thanks,  
jenny
