validateclient can validate subtrees, but can still be expensive.  in
general, the height is determined by the parent (suppose you requested a
% height).  There are calls like getExplicitOrMeasuredHeight that are
commonly used to calculate layout.  It might be worth reviewing the
related chapters in the doc.

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Justin Winter
Sent: Tuesday, November 27, 2007 9:28 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: This has to be a bug right? If not, please
explain...



Is there a better, more appropriate way to validate certain
properties, like "height", after adding children to a UIComponent or
subclass of UIComponent? 

Coming from AS2 I find it confusing that there isn't an easy way to
access the height of a container after adding children. 

If later during runtime I need to access the height of dynamically
created child container, what is the appropriate approach?



 

Reply via email to