The flash preloader emits FlexEvent.INIT_PROGRESS
events to signal the progress of the flash application initialization. However, the number of times this event is dispatched depends on the application itself.
I am trying to determine this number, but I couldn't find an answer in the Flex documentation, so right now I resort to experimentation. To make it worse, it appears to me that this number varies from time to time, even if the flash file is unmodified.
Is there a programmatic way to give at least an estimate on this value?
Edit: I'm using this information to display a progress bar in the preloader. Actually, I display two, one while downloading the program, and a second one while initializing it.