Adobe Flex ActionScript Interview Questions and Answers

 

What are the methods called when a UI component is intialized?

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).

Posted by:Richards