# attachSound won't work in main movie!

**URL:** <https://forum.kirupa.com/t/attachsound-wont-work-in-main-movie/74122>\
**Category:** flash\
**Created:** [December 23, 2004, 11:02pm UTC](https://forum.kirupa.com/t/attachsound-wont-work-in-main-movie/74122 "2004-12-23T23:02:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Inflicted](https://avatars.discourse-cdn.com/v4/letter/i/82dd89/32.png) [@Inflicted](https://forum.kirupa.com/u/Inflicted)\
**Post date:** [December 23, 2004, 11:02pm UTC](https://forum.kirupa.com/t/attachsound-wont-work-in-main-movie/74122/1 "2004-12-23T23:02:16Z")

</div>

Long time no see!

I’m attaching a sound in an swf, but it  
doesn’t work in my main movie!

```auto
firstSound = new Sound();
firstSound.attachSound("sound.mp3");
btn.onPress = function() {
    firstSound.start();
    this.startDrag(false, 160, 375, 580, 375);
};

```

Is there a simple explanation for this?

thanks…
