Your SlideShare is downloading. ×
0
Adobe Flex Event Propagation
Adobe Flex Event Propagation
Adobe Flex Event Propagation
Adobe Flex Event Propagation
Adobe Flex Event Propagation
Adobe Flex Event Propagation
Adobe Flex Event Propagation
Adobe Flex Event Propagation
Adobe Flex Event Propagation
Adobe Flex Event Propagation
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Adobe Flex Event Propagation

4,255

Published on

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

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,255
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
84
Comments
3
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Adobe Component Life Cycle MohamedKamil
  • 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. 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. Capturing phase If application contains this structure; Application Panel TitleWindow Button
  • 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. 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. Bubbling Phase If application contains this structure; Application Panel TitleWindow Button
  • 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. Stopping propagation stopPropagation() stopImmediatePropagation()
  • 10. Event Propagation Diagram

×