thanks. working great.

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Wednesday, July 26, 2006 3:47 PM
To: [email protected]
Subject: Re: [flexcoders] addChild to Loader component

If you want to show something in Flex, it must implement IUIComponent.  Easiest way?
 
var a:UIComponent = new UIComponent();
a.addChild(yourLoader);
addChild(a);
 
----- Original Message -----
Sent: Wednesday, July 26, 2006 4:57 AM
Subject: [flexcoders] addChild to Loader component

I tried to load a binary image data lo loader object, which worked  great.
but when I tried to add this loader object - addChild(loader) I got this message:
 
TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::[EMAIL PROTECTED] to mx.core.IUIComponent.
 
the thing is that in all Adobe's help pages on Loader components, they use this method to display the image.
am I doing something wrong?
 
Best regards,
gadi

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to