# addChild help (newbie to AS3)

**URL:** https://forum.kirupa.com/t/addchild-help-newbie-to-as3/251607
**Category:** flash
**Created:** [February 11, 2008, 2:49am UTC](https://forum.kirupa.com/t/addchild-help-newbie-to-as3/251607 "2008-02-11T02:49:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![gregmax](https://avatars.discourse-cdn.com/v4/letter/g/ac8455/32.png) [@gregmax](https://forum.kirupa.com/u/gregmax)
#### Post date: [February 11, 2008, 2:49am UTC](https://forum.kirupa.com/t/addchild-help-newbie-to-as3/251607/1 "2008-02-11T02:49:48Z")

</div>

I am experienced with AS2, but am very new to AS3. My question should be very easy to understand, but I have no idea on how to get it to work. I am trying to add a MC within a MC… so how do I do this?

This is what I have:

[AS]

i\_parent.clip = new MovieClip();  
i\_parent.clip.addChild( /\* the MC I want to attach \*/);

[/AS]

but this isn’t working as expected, I just errors and complaints ☹

Any help would great, thanks
