# Duplicate a MC with attached MC

**URL:** <https://forum.kirupa.com/t/duplicate-a-mc-with-attached-mc/123899>\
**Category:** Uncategorized\
**Created:** [September 28, 2004, 10:44am UTC](https://forum.kirupa.com/t/duplicate-a-mc-with-attached-mc/123899 "2004-09-28T10:44:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mattiaswargren](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mattiaswargren/32/631_2.png) [@mattiaswargren](https://forum.kirupa.com/u/mattiaswargren)\
**Post date:** [September 28, 2004, 10:44am UTC](https://forum.kirupa.com/t/duplicate-a-mc-with-attached-mc/123899/1 "2004-09-28T10:44:04Z")

</div>

Hey,

is there a way to keep the content of a mc (attached content) when I duplicate it? I know that duplicate remembers size, position, rotation etc. But I want to get the attached content too.

// Example.  
[color=red]Container1\_mc.attachMovie(“star”,“obj\_1”,1);[/color]  
[color=red]Container1\_mc.attachMovie(“stripe”,“obj\_2”,2);[/color]

// Now I want to duplicate the Container to get a copy of it (Container2\_mc)  
[color=red]Countainer1\_mc.duplicateMovieClip(“Container2\_mc”,10)[/color]

[color=black]Anyone?[/color]
