When you programmatically add many UI objects, 25-100 to a display 
list, VBox, DataGrid or whatever, when can you determine all UI 
objects have been fully rendered?

I'm looping through an xml file, and for each row/node I'm creating a 
new instance of a custom display object and adding it as a child to a 
VBox.

The looping logic takes milliseconds to run but it could be 3-4 
seconds before the actual UI catches up.

How do I know when it's done rendering all my child objects?

I want to display the busy cursor and remove it when they are all 
done rendering.

Listening to updateComplete or creationComplete events don't 
necessarily work.  Multiple updateCompletes get fired for different 
stages in the creation process and creationComplete does get fired 
before UI is done drawing to the screen as well.

Any thoughts?  Am I just programming something wrong?


Reply via email to