# \[Flash8\] combining movieclips on the fly

**URL:** <https://forum.kirupa.com/t/flash8-combining-movieclips-on-the-fly/178025>\
**Category:** flash\
**Created:** [February 7, 2006, 6:04am UTC](https://forum.kirupa.com/t/flash8-combining-movieclips-on-the-fly/178025 "2006-02-07T06:04:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Battleman](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/battleman/32/2141_2.png) [@Battleman](https://forum.kirupa.com/u/Battleman)\
**Post date:** [February 7, 2006, 6:04am UTC](https://forum.kirupa.com/t/flash8-combining-movieclips-on-the-fly/178025/1 "2006-02-07T06:04:47Z")

</div>

Hi Everyone,

I’m wondering if this is possible.

Assume that we’ve created a parent movieClip and under that we’ve attached two clips to that parent.

ie.

1st clip: parent\_mc  
2nd clip: parent\_mc.child1\_mc  
3rd clip: parent\_mc.child2\_mc

Is it possible using only actionscript to change child2\_mc to have child1\_mc as it’s parent? So that when you drag child1\_mc (or parent\_mc) child2\_mc goes with it.

so now we would have:

1st clip: parent\_mc  
2nd clip: parent\_mc.child1\_mc  
3rd clip: parent\_mc.child1\_mc.child2\_mc

Thanks very much - any help would be fantastic. (I’ll owe you a Coke!)

Regards,

Michael.
