Thanks Farid! Jason Merrill Bank of America Learning & Organizational Effectiveness
>>-----Original Message----- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf >>Of Farid Shahlavi >>Sent: Thursday, January 18, 2007 9:27 AM >>To: Flashcoders mailing list >>Subject: Re: [Flashcoders] OT: Flex & instances >> >>Jason, >> >>Well looks like this Reflection class can only handle >>components but if you wanted to use your own, you could get a >>handle on the image once its loaded by listening to the >>complete event like so: >> >><mx:Image id="theImg" source="{imgSource}" >>complete="onImageLoadComplete(event)" /> >> >>private function onImageLoadComplete(event:Event):void { >> >> Alert.show("content is: "+event.target); >> >> } >> >>Cheers, >> >>Farid _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com