# Moving MC under another MC

**URL:** <https://forum.kirupa.com/t/moving-mc-under-another-mc/301882>\
**Category:** flash\
**Created:** [December 17, 2009, 7:51am UTC](https://forum.kirupa.com/t/moving-mc-under-another-mc/301882 "2009-12-17T07:51:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Indyaner](https://avatars.discourse-cdn.com/v4/letter/i/d26b3c/32.png) [@Indyaner](https://forum.kirupa.com/u/Indyaner)\
**Post date:** [December 17, 2009, 7:51am UTC](https://forum.kirupa.com/t/moving-mc-under-another-mc/301882/1 "2009-12-17T07:51:10Z")

</div>

Hi

I doint understand how to move Children in As3.

I’ve a MC called mainClip with an instance child1 and child2.  
In Child 1, there is another MC wich has the name “aniMC” wich is a clip with a animation inside.  
I now want to move this aniMC (with its animation inside) to the child 2.

So, as I read [here](http://frankfenghua.blogspot.com/2007/09/move-child-from-one-parent-t-oanother.html) I have to first remove the clip and then addChild it.

But this doesnt work. My Code-Snipplet looks like this:

mainClip.child1.removeChild(mainClip.child1.aniMC);  
var testMC = mainClip.child2.addChild(mainClip.child1.aniMC)

The strange things is, that testMC traces me a Object-Movieclip and has the name “aniMC”. But … its not visible. Alpha and visible are 1 and true. But I cant see it. Could it be that the Clip was added but not its content?

How do I have to such a task correctly?

Greetings from Germany
