9/10/2011 12:33:58 AM
Title:
Life cycle of flex
Hi All,
I need to understand, life cycle methods,
1. preinitialize
2. initialize
3. creation complete
Can anybody please explain the details, when we will use these method in real time?
If it is possible, please explain in example.
Thanks & Regards,
krishna
9/11/2011 9:09:42 AM
These are inbuild methods of flex components. When these methods execute they generate events that tell us component is in which cycle of creation. We can use events to do something for some advanced coding requirements. For e.g Say we need to do set some property or value of the component on just creation complete of the component.
9/11/2011 9:42:49 AM
you can find the detail of flex component life cycle at this link. These methods can be used while we extend the component to add some more functionality to it.
http://flexcomps.wordpress.com/2008/05/09/flex-component-life-cycle/