Re: [flexcoders] How do you tell when a new component is actually displayed?

2010-03-26 Thread Alex Harui
Well-behaved components are rendered right after they dispatch UPDATE_COMPLETE unless modified again, in which case there should be a following UPDATE_COMPLETE. For a DataGrid, if you have bound it to the results of a network request for data, it could easily finish an UPDATE_COMPLETE before th

[flexcoders] How do you tell when a new component is actually displayed?

2010-03-26 Thread Christopher McArthur
I need to be able to tell when a newly instantiated component, is actually being rendered to the screen so you can see it. Usually, I want to do this for complex screens. You navigate to the screen and it shows a loading screen, once that's rendered, I do some blocking action, like adding a com