What Are The Methods Called When A Ui Component Is Initialized?
All components dispatch the following events that let you specify ActionScript to initialize a component: preInitialize Dispatched when a component has been created in a rough state, and no children have been created. Initialize Dispatched when a component and all its children have been created, but before the component size has been determined. Creation Complete Dispatched when the component has been laid out and the component is visible (if appropriate)