# addChild to different frame

**URL:** <https://forum.kirupa.com/t/addchild-to-different-frame/286835>\
**Category:** flash\
**Created:** [April 21, 2009, 6:49pm UTC](https://forum.kirupa.com/t/addchild-to-different-frame/286835 "2009-04-21T18:49:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RyuMaster](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@RyuMaster](https://forum.kirupa.com/u/RyuMaster)\
**Post date:** [April 21, 2009, 6:49pm UTC](https://forum.kirupa.com/t/addchild-to-different-frame/286835/1 "2009-04-21T18:49:24Z")

</div>

Hi! Do not ask why :stare: , but I have to do the following:

```auto
function onLoaded(e:Event):void {
var bg :MovieClip = new MovieClip();
var libMedia:MovieClip = e.currentTarget as MovieClip;

```

This code executes on frame 1.  
What I need to do - add this libMedia loaded movie clip to some empty clip named “dummy”  
at the frame 21.

Is there any way to do it?  
Add this loaded frame clip to frame 21, without leaving this frame 1, and add it to some already existing clip named “dummy”, so I could have control over this externally loaded swf later.

Regards,  
Konstantin.
