Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14361 reviews 1715 hosting providers

Questions & Answers

duplicating a Movie Clip in ActionScript 3.0

Mar 17, 2013 by Alpha2
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 votes
Mar 17, 2013 by randy999
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.