nanny
September 8th, 2003, 10:12 PM
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
onClipEvent (load) {
scale = (random(100) + 50)
this._x = random(550);
this._y = random(400);
this._alpha = random(100);
this._xscale = scale;
this._yscale = scale;
}
the actionscript of button is
i = i + 1;
duplicateMovieClip (_root.target, "target" + i, i);
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.
In my flash file, I have a movieclip called target and one button used to
duplicate the target movieclip.
the actionscript of movieclip is
onClipEvent (load) {
scale = (random(100) + 50)
this._x = random(550);
this._y = random(400);
this._alpha = random(100);
this._xscale = scale;
this._yscale = scale;
}
the actionscript of button is
i = i + 1;
duplicateMovieClip (_root.target, "target" + i, i);
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.