HELP... will this reduplicate if destroyed?

Im using this tutorial, random motion (http://kirupa.com/developer/actionscript/random_motion.htm) and trying to combine with this tutorial,Detect Collision. ([url=“http://www.kirupa.com/developer/actionscript/hittest.htm”]http://www.kirupa.com/developer/actionscript/hittest.htm)

My 1st question is… can you detect duplicated MC’s collision? Also can you use the hitTest to remove a Movieclip (as in when they collide have them both dissappear, I’ll probably play an animation first.)

My 2nd question is will this code:


[size=2][indent]   i =     0; while (i<25)     { 
  
duplicateMovieClip(dot, "dot"+i, i);       dot.duplicateMovieClip("dot"+i,       i); i++;
  
} [/indent][/size]


automatically detect the removed MC and create another one?

Any help is greatly appreciated. :thumb: