In my flash game when i shoot an enemy the bullet hits the enemy and resets back to my character ready to be fired again. Except everytime you hit an enemy the bullet is reset and then autmaticly fires of again once. ??? How do i make it so it resets and doesnt fire again until space is pushed??
Heres my script for the bullet:
for (i=1; i<=_root.numEnemy; i++) {
if (this.hitTest(_root[“enemy”+i])) {
_root.score += 100;
_root[“enemy”+i].gotoAndPlay(56);
_x = _root.spaceship._x;
}