We have a For Loop that duplicates and movie Clip.
for (counter=2;counter<=15;counter++) {
duplicateMovieClip(enemy,“enemy”+counter,counter+100);
}
On a hit test we want to remove all the duplicated movieclips. I acomplished this using a new scene with a frame action contianing another For Loop and a remove movie clip action. Hit test true move to new scene play frame action.
for (counter=2;counter<=15;counter++) {
removeMovieClip(“enemy”+counter);
}
This worked.
Is there a way to put a stop of the For Loop or Put a stop on the Duplicate movie clip?
:hair: