PROBLEM 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. SOLUTION 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; |
Flex: Problem on Duplicating Images Coming from a Common Source
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment