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).
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
There should not be any Spelling Mistakes.
There should not be any Gramatical Errors.
Answers must not contain any bad words.
Answers should not be the repeat of same answer, already approved.