Hi all,
The scenario is like this:
 I have one class which extends the Panel class. I create it's instance in
an mxml file.
 I have one more class which extends a UIComponent Class.
 Whilte trying to add a instance of this class to a instance of extended
Panel class in mxml file. I get a error like can not convert UIComponent to
Container.

I understood this, as Panel internally extends Container class ans Container
class extends UIComponent .

But why i dont get this error when I try to add standard UIcomponent like
Button etc. to standard Panel.??

Can somebody explain me this?
Regards
PS

Reply via email to