Ok, I’m pulling a Clip out of the Library and Duplicating it so many times with this code. It works fine. I would like to know what the best way to remove them all at once is, and also to be able to click a button and have the number that is duplicated on the stage change. I’ve tried a couple of ways for that but can’t quite get it to work. A little help is appreciated. Thanks.
_global.amount = 100;
_root.attachMovie(“Ball”, “ball1”, 1);
for (i=0; i<_global.amount; i++) {
scale = (random(75));
duplicateMovieClip(ball1, “ball_clip”+i, i);
setProperty(“ball_clip”+i, _x, random(500));
setProperty(“ball_clip”+i, _y, random(350));
i++;
}