the starship in my game has some lasers witch are created using duplicateMovieClip, each one on diferent levels. and they should destroy a randomly created object that they hit.
i’m trying to do this by using hitTest, but I can’t get it to work, because the instance names of the movieclips created are changing with each frame…
- Is hitTest affected by detph?
- Could someone suggest me a method to make the lasers destroy the randomly created targets?