im creating a simple game where you drag an object across the screen to a safe-zone, trying to avoid a bunch of balls flying around.
I duplicated the balls with this code:
i = 0;
while (i<10) {
dot.duplicateMovieClip(“dot”+i, i);
i++;
}
when you lose/win you go to a screen where it says either “game over” or “congratulations”, right now, these balls still move around when I get here. how do I remove them? what code do I use and where do I put it?