bikrantsingh
Life-Cycle of flex application
1 Answer(s)      4 years and 11 months ago
Posted in : Flex
hi.....

Please tell me What is LifeCycle of Flex-Application?
please give me the answer ASAP.

Thanks
Advertisement
View Answers

October 16, 2010 at 11:39 AM


<p>LifeCycle of flex application:<br>
When we create a flex application in Adobe flash builder 4 the following event
sets the lifeCycle of flex application.<br>
1. preInitialize: mx.core.UIComponent.preinitialize<br>
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.<br>
Event Type:<br>
mx.events.FlexEvent.PREINITIALIZE<br>
<br>
2. initialize: mx.core.UIComponent.initialize<br>
Initializes the internal structure of this component. Initializing a UIComponent
is the fourth step in the creation of a visual component instance, and happens
automatically the first time that the instance is added to a parent. Therefore,
you do not generally need to call initialize(); <br>
<br>
3. creationComplete: mx.core.UIComponent.creationComplete<br>
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.<br>
Event Type:<br>
mx.events.FlexEvent.CREATION_COMPLETE<br>
<br>
4. applicationComplete: spark.components.Application.applicationComplete<br>
Dispatched after the Application has been initialized, processed by the
LayoutManager, and attached to the display list.<br>
Event Type:<br>
mx.events.FlexEvent.APPLICATION_COMPLETE</p>









Related Tutorials/Questions & Answers:
Life-Cycle of flex application
Life-Cycle of flex application  hi..... Please tell me What is LifeCycle of Flex-Application? please give me the answer ASAP. Thanks  LifeCycle of flex application: When we create a flex application in Adobe
Flex Component Life Cycle
Flex Component Life Cycle  hi.... please tell me about What is Flex Component Life Cycle? Thanks  Ans: There are following pase of flex component life cycle. 1. Initialization phase 2. Update phase 3
Advertisements
JSF Life Cycle
JSF Life Cycle      In this we will understand the life cycle of JSF applicationLife cycle of a JSF web application starts when user makes a request. On submission
Coding for life cycle in threads
Coding for life cycle in threads  program for life cycle in threads
Servlet Life Cycle
Servlet Life Cycle  Servlet Life Cycle
servlet life cycle
servlet life cycle  What is the life cycle of a servlet
Jsp life cycle.
Jsp life cycle.  What is JSP life cycle?   Life cycle of JSP (Java Server Page),after translated it works like servlet.It contain 7 phases.... This method is called only one time during JSP life cycle. 6.Call
Hibernate Life Cycle
This tutorial contains full description of Hibernate life cycle
JSF Life Cycle
phases for any JSF enabled application. JSF life cycle phases are as follows...JSF Life Cycle In this section we will discuss about life cycle of JSF. This section will describe you JSF life cycle. Life cycle of JSF specifies
Life Cycle of Java Server Faces
follows is called life cycle. The article ?JSF Life Cycle? explains all the life cycle phases of JSF that is very useful for the developer who want to know... cycle of JSF. Read the full article at: JSF Life Cycle
bean life cycle methods in spring?
bean life cycle methods in spring?  bean life cycle methods in spring
Five disciplines in the Iterative Life Cycle
Five disciplines in the Iterative Life Cycle  hello, What are the Five disciplines in the Iterative Life Cycle?   hii, These are the Five Disciplines in the Iterative Life Cycle:- Requirements Analysis and Design
DbUnit test Life Cycle
DbUnit test Life Cycle       DbUnit framework follows some steps in its life cycle... of the life cycle are executed when executing the setUp() method before running
hibernate object states and life cycle
hibernate object states and life cycle  I am bit confused in between the hibernate states and it's life cycle. Can you please explain this also? also explain the persistent, detached and transient object states.Thanks
Life cycle of Servlet
Life cycle of Servlet       This article is discussing about the Life cycle of Servlet and teaches you the Servlet Life cycle methods. As a beginner you should understand
EJB life cycle method
EJB life cycle method      ... as the life cycle of EJB. Each type of enterprise bean has different life cycle... is the program denoting life cycle of message driven bean. package
JSP Life Cycle
JSP Life Cycle In this section we will discuss about life cycle of JSP. Like the each Java based web technology JSP also follows a life cycle for the execution of an application. Life cycle of any technology expresses
Event handler for Visual Component in Flex 4
Event Handler for Visual Components in flex4: Flex are provide event driven application. When a programmer interact with the application interface and after that something change occur in the appearance of the component life cycle
Life Cycle of Threads
Life Cycle of A Thread   ... the life cycle of thread is very valuable. While a thread is alive, it is in one... start its life from Runnable state. A thread first enters runnable state after
Bean life cycle in spring
Bean life cycle in spring       This example gives you an idea on how to Initialize bean in the program and also explains the lifecycle of bean in spring. Run the given bean example
Thread Life Cycle Example in java
Thread Life Cycle Example in java In this section we will read about the life cycle example of Thread in Java. Life cycle of Thread explains you the various... when its run() method execution is completed. The life cycle of Thread is ended
EJB life cycle method
EJB life cycle method      ... as the life cycle of EJB. Each type of enterprise bean has different life cycle... is the program denoting life cycle of message driven bean. package
Life Cycle of a Jsp Page
Life Cycle of a Jsp Page     ... as the servlet life cycle. After get translated the jsp file is just like a servlet. The life cycle of the jsp page is given below: jspInit(): This method
Spring Bean Life Cycle methods, Spring Bean Life Cycle
Spring Bean Life Cycle methods In this example you will know about spring bean life cycle and how a bean is initialized in the program. The bean factory...; When you run this application it will display output as shown below
Product Life Cycle Diagram
Product life cycle diagram is the graphical representation of four stages... life cycle also called PLC is a concept of marketing that tells about... stages in the Product life cycle diagram indicates: Introduction
Stateful and Stateless Session Bean Life Cycle
Understanding Stateful and Stateless Session Bean Life Cycle... Bean Life cycle There are two stages in the Lifecycle of Stateless Session Bean... the bean into Does Not Exist state. Following Diagram shows the Life cycle
System Development Life Cycle
System Development Life Cycle   ... cycle of Software Development Life Cycle. The information systems... Development life cycle. Advantages of using the SDLC also include efficient work
Product Life Cycle
Product life cycle is an important concept of marketing which shows the stages... of a product life cycle including introduction to growth, maturity and decline... and marketing mix accordingly. The four stages of a product life cycle
Servlet Life Cycle
The Life Cycle of Servlet having some good characterstics that allows servlet... pertains of low-level Server API progamming. The life cycle of a servlet is operated by the container in which the servlet has been deployed. Servlet life cycle
write a program in java to demonstrate the complete life cycle of servlet:
write a program in java to demonstrate the complete life cycle of servlet:  l have an assignment question. i don't know how to write the code... life cycle of a Servlet
Learn Servlet Life Cycle
Learn Servlet Life Cycle Servlet is a Java programming language class... Life Cycle, we would need to cover the entire process starting from its... of Servlet Life Cycle in which servlet container loads the servlet from web.xml