Reusing Bitmap data in Flex/AS3 Applications
All you need to do to it create a new Bitmap from your existing bitmap by referencing the bitmapData object. This is means that it won't double the used memory:
var myNewBitmap:Bitmap = new Bitmap(myOldBitmap.bitmapData);
How easy is that.
Cheers, Mark




There are no comments for this entry.
[Add Comment]