# Problem animating an attached mc

**URL:** <https://forum.kirupa.com/t/problem-animating-an-attached-mc/188954>\
**Category:** flash\
**Created:** [May 12, 2006, 2:13am UTC](https://forum.kirupa.com/t/problem-animating-an-attached-mc/188954 "2006-05-12T02:13:29Z")\
**Posts on this page:** 2\
**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:** [May 12, 2006, 2:13am UTC](https://forum.kirupa.com/t/problem-animating-an-attached-mc/188954/1 "2006-05-12T02:13:29Z")

</div>

Hi everybody,

I have a mc in the library, with an ID = dada.  
I use this code to attach it to a mc, and I want to run an animation inside the attached MC. It does not work, and I don’t understand what I am doing wrong.  
Could you please help me understand?

```auto

this.createEmptyMovieClip("holder", 2);
holder.attachMovie("dada", "dada_mc", 3);
holder.dada_mc.gotoAndPlay(2);

```

Thanks a lot,

---

<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:** [May 12, 2006, 5:10am UTC](https://forum.kirupa.com/t/problem-animating-an-attached-mc/188954/2 "2006-05-12T05:10:01Z")

</div>

Ok, I figured out: I had a stop(); in the first frame of the duplicated movie. That’s why it wasn’t working.
