开发者

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.


  1. Make sure you didn't accidentally attach the listener to the loader itself as opposed to loader's contentLoaderInfo property
  2. You should be able to access it as Bitmap(loader.content).bitmapData in the Event.COMPLETE handler.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜