# duplicateMovieClip- targetting MCs inside other MCs

**URL:** <https://forum.kirupa.com/t/duplicatemovieclip-targetting-mcs-inside-other-mcs/217402>\
**Category:** flash\
**Created:** [February 26, 2007, 5:41pm UTC](https://forum.kirupa.com/t/duplicatemovieclip-targetting-mcs-inside-other-mcs/217402 "2007-02-26T17:41:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![schmichael](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@schmichael](https://forum.kirupa.com/u/schmichael)\
**Post date:** [February 26, 2007, 5:41pm UTC](https://forum.kirupa.com/t/duplicatemovieclip-targetting-mcs-inside-other-mcs/217402/1 "2007-02-26T17:41:11Z")

</div>

Hi there, I would like to duplicate a movieClip that exists in a SWF that has been loaded into the main movie and place this duplicate into a different SWF that is loaded intop the main movie. I am not sure if this is possible and can’t get this to work.  
I have made a simple movie with 2 movieclips and the code inside of one of the boxes tries to duplicate the other movieclip using this code:  
[AS]  
duplicateMovieClip(\_root.my\_mc, “my2\_mc”, 2);  
my2\_mc.\_x += 100;  
[/AS]  
As I say I’m not sure I can target MCs in that are not on the same level as the function is called from, if somone could advise me a way to do this it would be really handy.

Thanks for any suggestions guys!  
Schm:cool:
