# How can I target these clips?

**URL:** <https://forum.kirupa.com/t/how-can-i-target-these-clips/81915>\
**Category:** flash\
**Created:** [March 6, 2005, 5:10am UTC](https://forum.kirupa.com/t/how-can-i-target-these-clips/81915 "2005-03-06T05:10:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JamesTheSwift](https://avatars.discourse-cdn.com/v4/letter/j/54ee81/32.png) [@JamesTheSwift](https://forum.kirupa.com/u/JamesTheSwift)\
**Post date:** [March 6, 2005, 5:10am UTC](https://forum.kirupa.com/t/how-can-i-target-these-clips/81915/1 "2005-03-06T05:10:14Z")

</div>

I would like to use hitTest for these clips that are duplicated but im not sure how…

```
  ActionScript:
 suitorNumber = 10;

```

k = 0;  
[color=#000084]do[/color] {  
[color=#000084]duplicateMovieClip[/color](suitors, “[color=#0000ff]suitors[/color]” + k, k);  
k++;  
} [color=#000084]while[/color] (k != suitorNumber);

I have tried making a variable  
ActionScript:  
randomSuitor = “[color=#0000ff]suitors[/color]” + k

but I have had no luck. In my movie I have a MC following the mouse and when I click I would like to have the duplicated MC dissapear, some thing like this  
ActionScript:  
randomSuitor = “[color=#0000ff]suitors[/color]” + k;  
[color=#000084]\_root[/color].suitor\_mc.bow\_mc.[color=#000084]onMouseDown[/color] = [color=#000084]function/color {  
[color=#000084]\_root[/color].suitor\_mc.bow\_mc.[color=#000084]gotoAndPlay/color;  
[color=#000084]if/color {  
[color=#000084]\_root[/color].suitor\_mc.randomSuitor.[color=#000084]\_visible[/color] = [color=#000084]false[/color];  
}  
}

Any suggestions?
