# Problem with loading sound file

**URL:** https://forum.kirupa.com/t/problem-with-loading-sound-file/224223
**Category:** flash
**Created:** [April 30, 2007, 9:27am UTC](https://forum.kirupa.com/t/problem-with-loading-sound-file/224223 "2007-04-30T09:27:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![karthic\_vkn](https://avatars.discourse-cdn.com/v4/letter/k/da6949/32.png) [@karthic\_vkn](https://forum.kirupa.com/u/karthic_vkn)
#### Post date: [April 30, 2007, 9:27am UTC](https://forum.kirupa.com/t/problem-with-loading-sound-file/224223/1 "2007-04-30T09:27:42Z")

</div>

Hi friends,

I have created two swf files ‘Loader.fla’ and ‘Sound.fla’.

Inside the ‘Sound.fla’ just i import a sound file to library and named it ‘snd’. I added the following script on the first frame

var my\_sound:Sound = new Sound();  
my\_sound.attachSound(“snd”);  
my\_sound.start(0, 1);

the script is working perfectly, i can hear the sound.

Inside the ‘Loader.fla’ i create a movieclip and a button. Movie clip called ‘MovieHolder’.

then i added the following scripts on the button

on(release){  
movieHolder.loadMovie(“sound.swf”, this.getNextHighestDepth());  
}

Now run the loaded.fla and clink on the button. the ‘sound.swf’ has loaded but i cannt hear the sound. I dont know why !!!

Im uploading my sources file here. Please see the files and help me ![](http://forum.kirupa.com/uploads/kirupa/1799/6a24f1d926eff459.gif)
