I think that is correct.  Quoting Alex, "Navigator children must be
Containers, Container children must be IUIComponents, and UIComponent
children can be anything."

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Amy
Sent: Wednesday, October 15, 2008 11:36 PM
To: [email protected]
Subject: [flexcoders] Re: Efficiency and objects in the display list

 

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Container children must be UIComponents. You will need to add the
> sprites to a UIComponent first.

I think technically there's just an interface that has to be 
implemented on whatever you add (IFlexDisplayObject? IUIComponent?). 
If you extend Sprite or whatever and implement whichever one is needed, 
you could add it to a container.

-Amy

 

Reply via email to