# Duplicatemovieclip to

**URL:** <https://forum.kirupa.com/t/duplicatemovieclip-to/219808>\
**Category:** Uncategorized\
**Created:** [March 20, 2007, 11:36am UTC](https://forum.kirupa.com/t/duplicatemovieclip-to/219808 "2007-03-20T11:36:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lordy](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@lordy](https://forum.kirupa.com/u/lordy)\
**Post date:** [March 20, 2007, 11:36am UTC](https://forum.kirupa.com/t/duplicatemovieclip-to/219808/1 "2007-03-20T11:36:25Z")

</div>

Hola  
I’ve got a (hopefully) embarrassingly easy question. Hopefully

Basically the “app” allows you to drag various movieclips onto a mc. On release the movieclip is duplicated.

The question is: how can I set the parent mc of the duplicated mc?  
In this case the movieclip should be attached to “videoArea”  
SNippet

```auto

if(this.hitTest(videoArea)){
    var duplicate:MovieClip;
    duplicate = this.duplicateMovieClip("clip" + i, getNextHighestDepth());
    duplicate.contentPath = this.contentPath;
    duplicate.autoPlay=false;
    duplicate.setSize(80, 80);
    stageClips.push(duplicate);
}

```

Thx
