# attachSound on an included movie

**URL:** https://forum.kirupa.com/t/attachsound-on-an-included-movie/226071
**Category:** flash
**Created:** [May 17, 2007, 10:56pm UTC](https://forum.kirupa.com/t/attachsound-on-an-included-movie/226071 "2007-05-17T22:56:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Tiggie](https://avatars.discourse-cdn.com/v4/letter/t/74df32/32.png) [@Tiggie](https://forum.kirupa.com/u/Tiggie)
#### Post date: [May 17, 2007, 10:56pm UTC](https://forum.kirupa.com/t/attachsound-on-an-included-movie/226071/1 "2007-05-17T22:56:02Z")

</div>

I had sincerely NO idea how to search for this, since google didnt help me out this time, i’ve decided to post…

Let’s say i got Movie A, which loads Movie B at some moment. And let’s say that Movie B creates a sound, lets say:

var sndMusic = new Sound();

and then attaches it…

sndMusic.attachSound(“music”);

and starts it…

sndMusic.start(0, 1);

all this at some keyframe at B’s root.

problem is that… well, when i open Movie B alone, the music plays; when I watch it while being included in Movie A, it doesn’t… BUT the sounds that are simply added by dragging and dropping on a keyframe DO work on both cases. I believe it’s sth related to attachSound… any ideas? i’ve got mad trying to figure this out T\_T!! thx =/
