I have another problem.
In my game the player goes to gameover when it hits an enemy but the thing is that the enemies are still floating around on the game over screen! (There’s loads of enemies)
I’ve tried the:
removeMovieClip(“enemy”);
action but it only removes two of them away.
Please help!
well if your using duplicateMovieClip you could proboly just do something like
if(loss==true){
unloadMovie([‘badguy’+i]);
}
hope that works for ya if not let me know ill c what else i can think of.
for (var i in myMovieClip) {
if(typeof(myMovieClip*) == "movieclip") {
myMovieClip*.swapDepths(myMovieClip._parent.getNextHighestDepth);
myMovieClip*.removeMovieClip();
}
}