So I am trying to get my blaster movie clips to hitTest
correctly against my enemy movie clips.
When I press the space bar, I run this code from my player
_root["blast"+blastCount]._visible = true;
This will attach my blast movie clip, which has it's own
movement information, and thus zips across the screen just f ine.
I am also creating enemy movie clips at random y positions
with the following code:
_root["virus"+viruscount]._visible = true;
These of course have their own movement info, and work just
fine as well.
The problem comes when I want to hitTest these two objects
against one another. I am constantly adding more blasts and more
enemies, so I'm not exactly sure how I can test these against each
other given that there isn't just 2 objects, but many of them, with
varying names (blast1, virus7, etc). I was thinking about using
some sort of array to store names and check against each other, but
I am still a bit lost...