I am trying to create a hitTest between two duplicated objects. The code below is on a bullet. Bullets hit “bad” MCs that are called bad + x (X being a number from 22 - 40). I can’t get it to work. I belive that I am not referencing the duplicated MCs correctly. Any advice or suggestions you could provide would be most helpful.
for (x=22; x<42; x++) {
if (this.hitTest("_root.bad" + x)) {
trace("DEAD");
}
}
}
Thank You!