Collision remains on too long

I’m making a scrolling shooter and i’ve finally gotten the collision and scoring to work. The problem I have is that when the bullets hit the enemy, the enemy plays a death animation and it’s collision is still active during that time. This results in the score being registered multiple times for a single enemy if later bullets hit the dying enemy. I am registering the points on the hitTest and I have the death animation as 10 frames on the mc.

I’ve looked all over the forums, but I haven’t seen anything like this. My current bullet/hit code is:

var numEnemy = 6;

for (var h = 1; h <= numEnemy; h++)
{
if (this.hitTest(_root[“enemy”+h]))
{
pointsUp(_root[“enemy” + h].enemyPoints);
_root[“enemy”+h].play();
}
}

And help would be appreciated. :beam: