I'm pretty conversant with AS2 and have been able to do this
in Flash 9 preview, but somehow i can't display an image in my flex
project. I'm using a loader object. The image loads (loader's
Event.COMPLETE fires) but addChild doesn't display the object on
the stage. I've gone through the docs on display architecture many
times, can't figure it out. Please help me out.
First of all, if you are trying to load an image, use the
Image object (or <mx:Image>); makes more sense and even
though you can load things at a lower level, doesn't hurt to start
with the easiest thing.
Are you trying to add the image as a child after the complete
Thanks I was able to sort it out. But I have another question
now. I'm using the Image class object to load an image now. But if
I try to addEventListener to loaderInfo for the object, the image
doesn't load. If there is no listener, the image loads fine.