1.

What Are The Methods Called When A Ui Component Is Intialized?

Answer»

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.

creationComplete: Dispatched when the component has been LAID out and the component is visible (if appropriate).

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.

creationComplete: Dispatched when the component has been laid out and the component is visible (if appropriate).



Discussion

No Comment Found