# hitTest with many of same movieclips

**URL:** https://forum.kirupa.com/t/hittest-with-many-of-same-movieclips/77335
**Category:** flash
**Created:** [January 26, 2005, 4:10pm UTC](https://forum.kirupa.com/t/hittest-with-many-of-same-movieclips/77335 "2005-01-26T16:10:37Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![VoS](https://avatars.discourse-cdn.com/v4/letter/v/22d042/32.png) [@VoS](https://forum.kirupa.com/u/VoS)
#### Post date: [January 26, 2005, 4:10pm UTC](https://forum.kirupa.com/t/hittest-with-many-of-same-movieclips/77335/1 "2005-01-26T16:10:37Z")

</div>

Hello there…

Im making a game in which you controll a turret and it spews out bullets like mad…  
Usually i know you would name each dupicalted movieclip sumthing like  
“movieclipname”+nextnumber  
But i was in this case hoping i could name em all “bullet” for the simplicity of hittesting  
using  
bullet1.duplicateMovieClip(“bullet1”, this.getNextHighestDepth(), {\_x:bx, \_y:by, xs:Xmov, ys:Ymov});

to duplicate

and

if(this.hitTest(\_parent.bullet1)){ // is an onEnterFrame  
trace(“wuuuuuuuuuu”);  
to c if anything is happening

nothing however happens, i am not ceeing the trace message…  
Can i not have many movieclips named the same, or is there somethign else i need to consider

Thanks
