# Duplicating movie clip problem

**URL:** https://forum.kirupa.com/t/duplicating-movie-clip-problem/104721
**Category:** Uncategorized
**Created:** [March 18, 2004, 10:08pm UTC](https://forum.kirupa.com/t/duplicating-movie-clip-problem/104721 "2004-03-18T22:08:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Zak](https://avatars.discourse-cdn.com/v4/letter/z/8e7dd6/32.png) [@Zak](https://forum.kirupa.com/u/Zak)
#### Post date: [March 18, 2004, 10:08pm UTC](https://forum.kirupa.com/t/duplicating-movie-clip-problem/104721/1 "2004-03-18T22:08:01Z")

</div>

onClipEvent (enterFrame) {  
if(Key.isDown(Key.RIGHT)){  
this.\_x += 5;  
}  
else if(Key.isDown(Key.LEFT)){  
this.\_x -= 5;  
}  
else if(Key.isDown(Key.SPACE)){  
\_root.fire = 1;  
\_root.i += 1;  
duplicateMovieClip(\_root.bullet, “bullet”+\_root.i, \_root.i);  
}  
}

**This won’t duplicate the movie clip bullet, (instance name bullet) anyone have any ideas, its for a shooting game, and it just erases the 1st bullet and makes a new one.**
