# Frame actions not working on child movieclips

**URL:** <https://forum.kirupa.com/t/frame-actions-not-working-on-child-movieclips/284000>\
**Category:** flash\
**Created:** [March 13, 2009, 3:39pm UTC](https://forum.kirupa.com/t/frame-actions-not-working-on-child-movieclips/284000 "2009-03-13T15:39:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andr\_in](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/andr_in/32/37_2.png) [@andr\_in](https://forum.kirupa.com/u/andr_in)\
**Post date:** [March 13, 2009, 3:39pm UTC](https://forum.kirupa.com/t/frame-actions-not-working-on-child-movieclips/284000/1 "2009-03-13T15:39:08Z")

</div>

I’ve found the solutions for most of my many problems with as 3 but this one is really baffling :be:

The frame actions of child-movieclips of dynamically added movieclips are not firing!

If I have movieclip, say “mc”, which contains a child-movieclip “submc” which has a timeline animation in it with “stop();” on the last frame and I add “mc” on the stage via addChild() the stop action inside the sub movieclip will not work.

All the frame actions inside “mc” itself work.  
Everything works if I drag the movieclip onto the stage manually.

Right now the only way I can see to stop a movieclip on its last frame is by using the ENTER\_FRAME event, but that’s awfully cumbersome.

Any ideas?

I’ve attached a very simple example
