3 Replies Latest reply on Jul 6, 2009 10:36 PM by Michael Borbor

    How to tell when controls are finished being created?


      I am building an application that constructs the main user interface dynamically, based on XML parameters gathered from a database. There are more than 130 components in the UI, including the layout containers and formitems.


      At the beginning of the function that creates all the controls, I capture the time, with microseconds. At the end of that function, I do it again. Typically it takes about 3 seconds to run that function.


      However... the UI doesn't appear then. Flash's "busy" cursor keeps spinning away for another 7 to 10 seconds before the UI actually appears. I need to be able to give the user some real feedback about progress. Is there any way to keep track of things more accurately?