The diagram is slightly misleading, in a nutshell a component has 3 life cycle phases -
1. Birth Construction -> Addition -> Initialization In construction phase you generally do var b:myButton = new Button() In Addition phase you do this.addChild(b) In Initialization, initialize() is called by parent's childAdded() function, preinitialize and initialized events are fired here. 2. Life Invalidation -> Validation -> Update 3. Death Removal For more in depth version of the explanation, please have a look at this fantastic presentation prepared by Mrinal - http://weblog.mrinalwadhwa.com/2009/06/21/flex-4-component-lifecycle/ Thank you. Saurabh www.saurabhnarula.com On Mon, Mar 15, 2010 at 5:13 PM, manish sankhe <sankhe.man...@gmail.com>wrote: > preinitialize and initialize events of component should be after child > added event of container. (where as in flow diagram its shown after the > initialize event of container) > > > On Mon, Mar 15, 2010 at 5:03 PM, manish sankhe <sankhe.man...@gmail.com>wrote: > >> attached flow diagram is wrong..please find the corrected comments on >> adobe live docs >> >> >> On Sat, Mar 13, 2010 at 12:37 PM, Abhinav Mehta <mehta.88...@gmail.com>wrote: >> >>> Hello Praveen >>> >>> The correct sequence-phases of the component life-cycle are: >>> Construction -> Addition-> Intialization -> Invalidation -> Validation -> >>> Update -> Removal. >>> The above mentioned-sequence is furhte supported by the attached png. >>> >>> >>> -- >>> Regards >>> Abhinav Mehta >>> Developer | Blu >>> Bangalore | INDIA >>> >>> >>> On Sat, Mar 13, 2010 at 8:59 AM, Praveen Kumar Domma Raju < >>> praveenkumar.dommar...@gmail.com> wrote: >>> >>>> Hi, >>>> >>>> >>>> As I know, stages of flex component is :: >>>> >>>> preInitiliase() >>>> initiliase() >>>> createComplete() >>>> >>>> Correct me if am wrong !! >>>> >>>> Flex Experts, please give answer to above all qns , as I started >>>> reading flex fundamentals...... >>>> >>>> FYI :: working for adobe LC ES2 .... >>>> >>>> Thanks >>>> Praveen. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Flex India Community" group. >>>> To post to this group, send email to flex_in...@googlegroups.com. >>>> To unsubscribe from this group, send email to >>>> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> >>>> . >>>> For more options, visit this group at >>>> http://groups.google.com/group/flex_india?hl=en. >>>> >>> >>> >>> >>> -- >>> Regards >>> Abhinav Mehta >>> Developer | Blu >>> Bangalore | INDIA >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Flex India Community" group. >>> To post to this group, send email to flex_in...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/flex_india?hl=en. >>> >> >> > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to flex_in...@googlegroups.com. > To unsubscribe from this group, send email to > flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.