hanchinliu
02-28-2001, 06:52 PM
Hi,
I made a game with a space ship moving to its mothership. Users have the option to show the trace of the movement. I use attachMovie to play the game (the space ship) and duplicateMovieClip to show the trace (the dots). How can I remove those duplicated dots when users click the button "reset"? Whenever I use a loop with removeMovieClip(_root["dot"+i], i); it takes like forever and a message ask me to stop the script because the script slows down the performance.
Any help will be appreciated.
I made a game with a space ship moving to its mothership. Users have the option to show the trace of the movement. I use attachMovie to play the game (the space ship) and duplicateMovieClip to show the trace (the dots). How can I remove those duplicated dots when users click the button "reset"? Whenever I use a loop with removeMovieClip(_root["dot"+i], i); it takes like forever and a message ask me to stop the script because the script slows down the performance.
Any help will be appreciated.