onClipEvent (load) {
for (var i:Number = 1; i<=68; i++) {
var mMovie:String = “mMovie”+i;
if (this.hitTest(this[mMovie])) {
trace(“hited”);
}
}
}
Hi!
I’m using the previous cote to detect collision between several objects. It is working just fine but there is a little detail. It’s detection a collision between it self.
For instance if it collides between 5 Movie Clips in the output panel the result will be 6 instead of 5. How can I “repair” that?