blog
Tag Archive for url at Jozef Chúťka's blog
October 15, 2009
Bitmap BitmapData ByteArray converting DisplayObject encoding image Loader LoaderInfo url URLRequest
Bitmap, BitmapData, ByteArray…

Lets see how to convert between Bitmap, BitmapData and ByteArray in few examples:
DisplayObject to BitmapData
BitmapData to Bitmap
BitmapData to ByteArray
URL (image) to ByteArray (asynchronous)
URL (image) to BitmapData (asynchronous)
ByteArray to BitmapData (asynchronous)