# Sound doesn't play

**URL:** <https://forum.kirupa.com/t/sound-doesnt-play/270246>\
**Category:** flash\
**Created:** [September 7, 2008, 5:08pm UTC](https://forum.kirupa.com/t/sound-doesnt-play/270246 "2008-09-07T17:08:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CayoHueso](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@CayoHueso](https://forum.kirupa.com/u/CayoHueso)\
**Post date:** [September 7, 2008, 5:08pm UTC](https://forum.kirupa.com/t/sound-doesnt-play/270246/1 "2008-09-07T17:08:54Z")

</div>

Hi,

I have a Flash movie that uses the following code to load a Sound from the library:

```auto

this.lancet_mc.onRelease = function() {
if (lancet_mc.hitTest(target_mc) == true) {
var my_sound:Sound = new Sound();
my_sound.attachSound("mySoundID");
my_sound.onSoundComplete = function() {
trace("mySoundID completed");
};
my_sound.start();
}

```

It works fine, but when I load the movie from another movie, the sound does not play.

What am I doing wrong?

Thanks
