Loader content always null
I load successfully an external image using a Loader class but every time i trace the loader.content property is found null. Why?
ps: Actually, i'm trying to get the bitmapdata from 开发者_运维知识库a loader object.
- Make sure you didn't accidentally attach the listener to the loader itself as opposed to loader's contentLoaderInfo property
- You should be able to access it as Bitmap(loader.content).bitmapData in the Event.COMPLETE handler.
精彩评论