Posts Tagged ‘BitmapData’

ActionScript 2: Copy MovieClips with BitmapData on runtime

The flash.display.BitmapData class enables you to copy arbitrary movie clips on runtime, e.g. movie clips attached from the library or external loaded images or swf files. Here is a little helper function that does all the magic stuff: import flash.display.BitmapData;   /** * @param sourceMovieClip Movie clip to copy * @param targetMovieClip (Empty) movie to […]

Read more…