Ok, so I've got this running fine, but I'm running into problems duplicating multiple movie clicks with the same button.
My code is:
Code:
on (release) {
count = 1;
while (count<20) {
_root.box.duplicateMovieClip("boxx"+count, count);
_root["boxx"+count]._x = random(550);
_root["boxx"+count]._y = random(150);
_root["boxx"+count]._xscale = random(150);
_root["boxx"+count]._yscale = random(150);
_root["boxx"+count]._alpha = random(100);
count += 1;
}
}
on (release) {
count = 1;
while (count<20) {
_root.box.duplicateMovieClip("box2x"+count, count);
_root["box2x"+count]._x = random(350);
_root["box2x"+count]._y = random(250);
_root["box2x"+count]._xscale = random(150);
_root["box2x"+count]._yscale = random(150);
_root["box2x"+count]._alpha = random(100);
count += 1;
}
}