Duplicate Movieclip Function
Hi all,
I'm working on a creating a button that will create (preferably unlimited) duplicates of one movie clip. I have something that works for Flash, pre-2004, but I'd like to update it to Actionscript 2.
Any suggestions? (Movieclip's instance name is "Cat").
Button:
on (press) {
i = i + 1;
duplicateMovieClip (_root.cat, "cat" + i, i);
}
Actionscript on the Movieclip object:
onClipEvent (load) {
scale = (random(10) + 50)
this._x = random(400);
this._y = random(400);
this._alpha = random(100);
this._xscale = scale;
this._yscale = scale;
}