# Issue with Kirupa Dup MC

**URL:** https://forum.kirupa.com/t/issue-with-kirupa-dup-mc/158824
**Category:** flash
**Created:** [August 12, 2005, 3:49am UTC](https://forum.kirupa.com/t/issue-with-kirupa-dup-mc/158824 "2005-08-12T03:49:54Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cameron\_](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@cameron\_](https://forum.kirupa.com/u/cameron_)
#### Post date: [August 12, 2005, 3:49am UTC](https://forum.kirupa.com/t/issue-with-kirupa-dup-mc/158824/1 "2005-08-12T03:49:54Z")

</div>

```auto
dupMovie = function () { 
for (i=0; i<50; i++) { 
photo.duplicateMovieClip("photo"+i, i, {_x:125});
with (eval("photo"+i)) {
}
}
};
dupMovie();

```

I changed the code a bit because I would like it to work like this…If I put my mc (photo) in the center of the stage, it would creat dups every 125 pixels. But this script only makes one duplicate, I must have done something to mess it up. Idealy I would like to have the mc create dups in both directions; x and -x. Can anyone help me out, it would be great - thanks!
