Say I’ve got 30 movie clips on the stage and I want to see if any of them are overlapping a drop point I have at the bottom (i.e., if any of them have been “dropped off”.)
I could say dropPoint.hitTestObject(obj1) and then dropPoint.hitTestObject(obj2). (Assuming that because of the object’s names there is is no way to do a for loop). But that’s a lot of code.
It would be way easier if I could just say “What object is overlapping dropPoint?” instead of “Is object 1 overlapping dropPoint? No? Well, is object 2 overlapping dropPoint?” etc.
Is this possible in Actionscript 3?
Thanks!