# Can't duplicate!

**URL:** <https://forum.kirupa.com/t/cant-duplicate/129054>\
**Category:** Uncategorized\
**Created:** [November 19, 2004, 2:12am UTC](https://forum.kirupa.com/t/cant-duplicate/129054 "2004-11-19T02:12:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Russkie](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@Russkie](https://forum.kirupa.com/u/Russkie)\
**Post date:** [November 19, 2004, 2:12am UTC](https://forum.kirupa.com/t/cant-duplicate/129054/1 "2004-11-19T02:12:56Z")

</div>

\_root.Aenemy.duplicateMovieClip([“Aenemy”+o], o);  
\_root[“Aenemy”+o].\_visible = true;  
\_root[“Aenemy”+o].\_x=\_root.locator.\_x;  
\_root[“Aenemy”+o].\_y=\_root.locator.\_y;  
o++;

This code is on one of my frames.  
when I do it the first time the Aenemy interacts and everything is fine.  
When that Aenemy appears the second time it dosen’t work, it dosen’t interact. And my first enemy suddenly disappears when I use this same action the second time.

I think the problem is when o is added to itself the new array dosen’t, how do I fix it???
