--- In [email protected], Marco Catunda <marco.catu...@...> 
wrote:
>
> I've just read this article. Very nice...
> 
> Does anyone could explain me or point me some URL about the correct
> flow of Flex building components methods calls. I've never seen any
> documentation about it.
> 
> As far as I understand, after invalidateProperties method, the further
> calls will happen
> 
> commitProperties
> measure
> updateDisplayList

No, if you call invalidateProperties(), then you're scheduling a call 
to commitProperties() only.  invalidateSize() will schedule a call to 
measure(), and invalidateDisplayList() will schedule a call to 
updateDisplayList().  This gives you fine-grained control to only call 
the functions you really need.

See this:
http://livedocs.adobe.com/flex/3/html/help.html?
content=ascomponents_advanced_2.html

For more information.

I think it just takes time and experimentation to get your head around 
it.  I found that using the flash component kit's UIMovieClip, which 
doesn't include the standard invalidation methods, was a real eye 
opener to show me why the framework works as it does.

HTH;

Amy

Reply via email to