life = 100;
onEnterFrame = function () {
if (life<=0) {
this.removeMovieClip();
}
life_txt.text = life;
};
i have this code inside an enemy mc on it's first and only frame and i know that it's life is getting lower via what im reading off of life_txt but for some reason the mc wont remove itself when it's life is below 0.