Friday, July 20, 2007

startup order in a Flex Application

see adobe doc here

component's creation life cycle:
preinitialize -> initialize -> creationComplete -> updateComplete

container's creation life cycle:

container [component]

preinitialize
|
| ---> [ preinitialize ]
| |
| ---> [initialize ]
|
addChild
|
initialize
|
| ---> [ creationComplete ]
|
| ---> [ updateComplete]
|
creationComplete
|
|
updateComplete

No comments: