Transferred from: http://blog.csdn.net/sjz168/article/details/7244374
There are three events in the 1.Application tag
Initialize,creationcomplete,applicationcomplete (events only with application)
What is the difference between Creationcomplete and Applicationcomplete:
Creationcomplete to finish the first step.
Creationcomplete is the function that executes when the application instance is completed
Applicationcomplete is a function that is executed after the entire application is complete.
The order of the Flex Program initiation Events Initialize, Creationcomplete, Applicationcomplete
2. There are initialize and Creationcomplete events when there are child containers or controls in the container.
The event of the child container is executed before the parent container event. This is related to the bubbling mechanism of flex.
The test output sequence is as follows:
Initialize events for child containers
Initialize event for parent container
Creation events for child containers
Creation event for parent container
The Applicationcomplete event in the parent container
Initialize,creationcomplete and Applicationcomp in Flex