|
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 -----
From: Gadi Srebnik
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
YAHOO! GROUPS LINKS
__,_._,___ |
- Re: [flexcoders] addChild to Loader component JesterXL
- RE: [flexcoders] addChild to Loader component Gadi Srebnik

