Tutorials, extensions, and source files for ActionScript, Flash, and other Adobe products.

 

Flash Source Files

Duplicate Loaded Image

Posted January 11, 2006 by senocular

Version: Flash 8

A common problem with duplicating movie clips in Flash is that if the movie clip contains dynamic content like a loaded image, it is not duplicated with the movie clip. You would need to reload that image again for the duplicate. Using the BitmapData class, you won't have to worry about reloading the image again, just copy the pixels into the duplicated clip.