It depends, but UIComponent doesn't care about clipping, scrollbars,
etc.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Steve Mathews
Sent: Wednesday, January 23, 2008 8:02 AM
To: [email protected]
Subject: Re: [flexcoders] addChild vs. addRawChild and performance

 

So you are saying that instead of using a Canvas as the container inside
of my app, I could just use UIComponent or ScrollControlBase? Any idea
of how much performance gain this could be?

On 1/22/08, Alex Harui <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >
wrote: 

It would be best to not use containers and just use UIComponent or
ScrollControlBase

 

________________________________

From: [email protected] <mailto:[email protected]>
[mailto:[email protected] <mailto:[email protected]> ]
On Behalf Of Steve Mathews
Sent: Tuesday, January 22, 2008 12:52 PM
To: [email protected] <mailto:[email protected]> 
Subject: [flexcoders] addChild vs. addRawChild and performance

 

Someone posted recently describing that addRawChild adds DisplayObject
in a way that they are not included in the size and layout of the
container (if I understood correctly). Does anyone know if this would 
be better or worse for the overall performance of a Flex app? So if
you did not need layout features of the framework, would it be better
to add everything as raw children?

 

 

Reply via email to