duplicating a Movie Clip in ActionScript 3.0

3,923 views
asked Mar 17, 2013 in General by Alpha2 (880 points)
Hi
I am using Adobe Flash with ActionScript 3, and I want to duplicate a movie clip. How can I do this? Can anyone please help?
Thanks in advanced

1 Answer

0 like 0 dislike
answered Mar 17, 2013 by randy999 (4,520 points)
1.Create a box for a movie clip in your library, then right-click on this box  and click onthe Linkage…
2.Set the class as a box.
var b:MovieClip = new box(); duplicates a movieclip.
3. set the X and Y positions of your dupliated movieclip.
4.Use the addChild() to  add that dupliated movieclip onto your stage.
...