Long story short, I created a plane shooting @ the boss. When the bullet hits Boss, it is removed. When the boss’ life hits 0, it is removed. Both are removed via this.parent.removeChild(this).
The problem is that after the boss “dies” (no syntax/runtime errors), the hitTestObject still seem to be active. I now have this blank spot where the Boss used to be that is detecting and removing the bullet.
hitTest code:
if (this.hitTestObject(target)){
this.removeEventListener(Event.ENTER_FRAME, moveBullet);
MovieClip(this.parent).removeChild(thisBullet);
target.hit(25);
}
remove code:
this.removeEventListener(Event.ENTER_FRAME, eFrameEvents);
if(this.parent){
this.parent.removeChild(this);
}
Maybe i am overlooking something so minute?