is it possible to add a hit test to object class, like a tile, if so how would approach this
this is the way that I do a hit test inside a time line actionscript, but it takes a lot processor if there is a lot of tiles. so then I was wondering if I could skip the loop and add it dirctly to the tiles class. But I don't think variables are possible to pass back and fourth.
for (var r=0; r<tileholder.length;r++){
if(tileholder
health--
//trace(health)
moveSpeed = 1
}
that would be inside of an ENTER_FRAME