views:

213

answers:

1

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.

+2  A: 
  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.
George Profenza