# Sound not playing with externally loaded swf

**URL:** https://forum.kirupa.com/t/sound-not-playing-with-externally-loaded-swf/81144
**Category:** Uncategorized
**Created:** [February 28, 2005, 5:03am UTC](https://forum.kirupa.com/t/sound-not-playing-with-externally-loaded-swf/81144 "2005-02-28T05:03:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sene](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@sene](https://forum.kirupa.com/u/sene)
#### Post date: [February 28, 2005, 5:03am UTC](https://forum.kirupa.com/t/sound-not-playing-with-externally-loaded-swf/81144/1 "2005-02-28T05:03:47Z")

</div>

Hi, I have an swf sound file with a toggle button that i load into my main movie. The button shows but I get no sound.

this is how I have attached it:  
\_root.createEmptyMovieClip(“sound”, 200);  
sound.\_x=745;  
sound.\_y=41;  
loadMovie(“sound.swf”,“sound”);

the script for my sound.swf is:  
First frame of mc:  
my\_sound = new Sound();  
my\_sound.attachSound(“mix1”);  
my\_sound.start(0,1000);  
gotoAndStop(“stop”);

second frame on button:  
on (release) {  
this.my\_sound.start(0,1000);  
this.gotoAndStop(“stop”);  
}

thirdframe on button:  
on (release) {  
this.my\_sound.stop();  
this.gotoAndStop(“play”);  
}

any help much appreciated.
