Copying a Movie Clip in ActionScript 3. Can’t be done. Right? Wrong.
Well, duplicateMovieClip is certainly gone, but there are still ways of making copies - running an objects constructor for example.
The basic way of doing this (which you no doubt know) is running the constructor of an object directly:
1 2 3 4 5 | private var _circle = new customCircleClass // "copy" private var _circle2 = new customCircleClass |
This, however, requires you to know the name of the constructor you are running. In many cases…