Hi there,
I have a movieclip (myMC) that I create several instances of.
I dont duplicate the movieclips, but just copy and rename them like “myMC_i”, where “i” is a unique number.
Can I somehow check if one copy of myMC (for instance “myMC_2”) collides with another copy (for instance “myMC_5”), always ignoring collisions with other types of movieclips on the stage?
Thats the problem I cant solve. I can either check for a collision with ANY other movieclip, or check for a collision with a single SPECIFIED movieclip (by checking for its name).
But I dont know how to check for a collision with a group of movieclips that has the first part of their names in common. If it had been like in a search-engine, you would have been able to search for:
myMC_1.hitTest(“myMC_” + *);
…where the star (*) is any number (or letter too, for that matter).
Sorry about the rant, but hope somebody still understands enough of what Ive said to help me.