From the ASDoc for these events:

preinitialize: "Dispatched at the beginning of the component initialization 
sequence. The component is in a very raw state when this event is dispatched. 
Many components, such as the Button control, create internal child components 
to implement functionality; for example, the Button control creates an internal 
UITextField component to represent its label text. When Flex dispatches the 
preinitialize event, the children, including the internal children, of a 
component have not yet been created."

initialize: "Dispatched when the component has finished its construction and 
has all initialization properties set. After the initialization phase, 
properties are processed, the component is measured, laid out, and drawn, after 
which the creationComplete event is dispatched."

creationComplete: "Dispatched when the component has finished its construction, 
property processing, measuring, layout, and drawing. At this point, depending 
on its visible property, the component is not visible even though it has been 
drawn."

applicationComplete: "Dispatched after the Application has been initialized, 
processed by the LayoutManager, and attached to the display list."
If you think we need better explanations, please file a documentation bug. (The 
second sentence about creationComplete is confusing, but the rest doesn't seem 
too bad.)
- Gordon






From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Angelo Anolin
Sent: Wednesday, May 19, 2010 6:41 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] init, creationcomplete and other events



Thanks Alex and Gordon.

Is there some sort of documentation for this?

Thanks.

________________________________
From: Alex Harui <aha...@adobe.com>
To: "flexcoders@yahoogroups.com" <flexcoders@yahoogroups.com>
Sent: Tue, 18 May, 2010 18:20:36
Subject: Re: [flexcoders] init, creationcomplete and other events



Preinitialize, initialize, creationComplete, applicationComplete .

Objects do not have a stage until applicationComplete .


On 5/18/10 3:22 PM, "Angelo Anolin" <angelo_anolin@ yahoo.com> wrote:





Hi FlexCoders,

Does anyone have a link on which event fires up first?  For example, in an 
application container, which event fires up and any other pointers which I have 
to be aware of.

Thanks.

Angelo






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs. adobe.com/ aharui<http://blogs.adobe.com/aharui>


Reply via email to