Adobe Component Life Cycle MohamedKamil
Event Propagation <ul><li>Capture-Portion of the event that is sent to the dispatcher from the application </li></ul><ul><...
Target and currentTarget Target - refers to the dispatcher of the event. currentTarget - refers to the current node that i...
Capturing phase If application contains this structure; Application Panel TitleWindow Button
Capturing phase <ul><li>If listener is on the click event of the Button control,  </li></ul><ul><li>the following steps oc...
Targeting Phase In the targeting phase, Flex invokes the event dispatcher's listeners. No other nodes on the display list ...
Bubbling Phase If application contains this structure; Application Panel TitleWindow Button
Bubbling Phase <ul><li>Check the TitleWindow container for click event listeners.  </li></ul><ul><li>Check the Panel conta...
Stopping propagation stopPropagation() stopImmediatePropagation()
Event Propagation Diagram
Upcoming SlideShare
Loading in …5
×

Adobe Flex Event Propagation

4,951 views

Published on

This is the presentation for Event propagation in Adobe Flex 3.

Published in: Technology, Education
3 Comments
0 Likes
Statistics
Notes
  • very nice
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Thank you for comment
    u r right i have changed the heading
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • You should have named it Event Life Cycle....not component life cycle!!!
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Views
Total views
4,951
On SlideShare
0
From Embeds
0
Number of Embeds
35
Actions
Shares
0
Downloads
87
Comments
3
Likes
0
Embeds 0
No embeds

No notes for slide

Adobe Flex Event Propagation

  1. 1. Adobe Component Life Cycle MohamedKamil
  2. 2. Event Propagation <ul><li>Capture-Portion of the event that is sent to the dispatcher from the application </li></ul><ul><li>Bubbling-Portion of the event that makes the trip back down to the application </li></ul><ul><li>Target -Occurs only when the event has reached its target (the dispatcher) </li></ul>
  3. 3. Target and currentTarget Target - refers to the dispatcher of the event. currentTarget - refers to the current node that is being examined for event listeners
  4. 4. Capturing phase If application contains this structure; Application Panel TitleWindow Button
  5. 5. Capturing phase <ul><li>If listener is on the click event of the Button control, </li></ul><ul><li>the following steps occur during the capturing phase </li></ul><ul><li>Check the Application container for click event listeners. </li></ul><ul><li>Check the Panel container for click event listeners. </li></ul><ul><li>Check the TitleWindow container for click event listeners. </li></ul>
  6. 6. Targeting Phase In the targeting phase, Flex invokes the event dispatcher's listeners. No other nodes on the display list are examined for event listeners. The values of the currentTarget and the target properties on the Event object during the targeting phase are the same.
  7. 7. Bubbling Phase If application contains this structure; Application Panel TitleWindow Button
  8. 8. Bubbling Phase <ul><li>Check the TitleWindow container for click event listeners. </li></ul><ul><li>Check the Panel container for click event listeners. </li></ul><ul><li>Check the Application container for click event listeners. </li></ul>
  9. 9. Stopping propagation stopPropagation() stopImmediatePropagation()
  10. 10. Event Propagation Diagram

×