> I think I have some of this wrong

 

Matt's description of these three events is accurate. We moved "initialize" after child creation because most developers were expecting the children to exist during this event. But that means "initialize" is too late for setting properties which affect which children get created. So we added "preinitialize" before createChildren().

 

- Gordon

 


From: [email protected] [mailto:[email protected]] On Behalf Of Matt Chotin
Sent: Thursday, April 13, 2006 11:34 PM
To: [email protected]
Subject: RE: [flexcoders] Preinitialize

 

Depending on what you want to do there may be no discernable difference.  Preinitialize comes very early in the cycle, before any children are created I think.  Initialize means the children have been created but maybe aren’t laid out (measurement may not be complete).  creationComplete means it’s all done.  I think I have some of this wrong but that’s the basic idea. 

 


From: [email protected] [mailto:[email protected]] On Behalf Of Oriol Gual
Sent: Monday, April 10, 2006 2:49 PM
To: [email protected]
Subject: [flexcoders] Preinitialize

 

Can anyone explain a bit more about the preinitialize event? I've tried to use it and is working the same as creationComplete (at least with the Application tag). I've looked at the documentation but there's no information available.

Thanks,
Oriol.




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to