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.