Hello,
In my flash file, I have a movieclip called target and one button used to
duplicate the target movieclip.
the actionscript of movieclip is
[AS]
onClipEvent (load) {
scale = (random(100) + 50)
this._x = random(550);
this._y = random(400);
this._alpha = random(100);
this._xscale = scale;
this._yscale = scale;
}
[/AS]
[AS]
the actionscript of button is
i = i + 1;
duplicateMovieClip (_root.target, “target” + i, i);
[/AS]
I would like to duplicate movieclip(target) automatically means I don’t have to press button to duplicate movieclip.
Any ideas?
I am really appreciate your help.