You can get an updateComplete from the layoutManager when there are no more 
callLaters scheduled for it, but remember that right after that, some network 
request can come in and cause updates.

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
manfred.karrer
Sent: Tuesday, November 18, 2008 11:55 PM
To: [email protected]
Subject: [flexcoders] event after last callLater() execution


is there an event dispatched when the callLater() is executed the last
time? we have the problem that a ui is rendered while a lot of other
things are going on at the application. so the flex framework calls
internally callLater() to avoid the performance peak. but we need to
know when the rendering of the ui is acually done, because some
animation starts after rendering. now it seems that the
creationComplete event if fired at some point, but the ui is not
rendered fully but is delayed (depending on the target machines speed)
for a certain time. is this assumption correct? is there an event or
another way how to gat the point when there is no more code to be
executed which is delayed via callLater()?
so far i understand callLater() it introduces a uncotrollable
asynchronity to the code execution. i have not investigated it so far,
so maybe i am wrong with my assumtions, but if it behaves like this,
i am wondering if callLater() is a good solution for avoiding the
performance peaks because of the downside of asynchronity. is there a
way how i can deactivate the callLater behaviour?

Reply via email to