# Duplicating Movie Clips

**URL:** https://forum.kirupa.com/t/duplicating-movie-clips/232037
**Category:** Uncategorized
**Created:** [July 10, 2007, 6:32pm UTC](https://forum.kirupa.com/t/duplicating-movie-clips/232037 "2007-07-10T18:32:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Saidon](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@Saidon](https://forum.kirupa.com/u/Saidon)
#### Post date: [July 10, 2007, 6:32pm UTC](https://forum.kirupa.com/t/duplicating-movie-clips/232037/1 "2007-07-10T18:32:21Z")

</div>

I imagine this isn’t too difficult, but I’m new to flash and can’t figure it out. I want to make a movie clip that can be duplicated by dragging and dropping it somewhere else on the stage.

So far I can drag around my MC but the duplication isn’t working properly.

I have this in my frame:

_numBox = 3;  
for (i=2; i\<=numBox; i++) {  
box.duplicateMovieClip(“box”+i, i+100);  
visible = false(“box”);  
}_

And this on my MC:

\*on (press) {  
startDrag(this);  
i = i+1;  
duplicateMovieClip(\_root.box, “box”+i, i);  
}  
on (release) {  
stopDrag();  
}

- 

Any advice would be helpful.:sure:
