Now, I run the following code in Flash to get the raw binary data of one PNG file.
var fr:FileReference = new FileReference;
fr.browse();
fr.load(…);
After loading complete, I think I can access the PNG file binary data from fr.data, now, I want to display this PNG picture in my application, could you please tell me, is there anything like that can decode the PNG format binary data into a Bitmap?
Thanks!
If you want to display it you should be able to use Loader.loadBytes().
Loader is a DisplayObject, so you can add it to the display list and it will show the image.