I'm trying to display a a bitmap image coming from a single source. The issue comes when I am trying to display it more than once on the same page.


1) Create a new Bitmap instance on for every sources.

var bmp:Bitmap = new Bitmap();

2) Use the main bitmap's data in initialization.

var bmp:Bitmap = new Bitmap( bmpOriginal.bitmapData );

3) Use this initialization as the sources for the new bitmaps

var img:Image = new Image;
img.source = bmp;

No comments :

Post a Comment