Capture allows the parent to see an event before the child gets it and
potentially block it.

Bubble allows the parent to see an event after the child has got it and
decided whether to allow the parents to see it.

 

Sometimes your parents read your mail and never let you see it, sometime
you want to get the mail first and not let them see what you got.

 

BTW, we didn't invent this.  It is a standard:
http://www.w3.org/TR/DOM-Level-3-Events/events.html

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Gosalia, Nirav
Sent: Thursday, June 12, 2008 12:29 AM
To: [email protected]
Subject: [flexcoders] Question about flex event flow

 


Hi,

I was reading up the flex event flow and I have a basic question.

What was the need to have two different phases called bubbling and
capturing. 

I understand that they traverse the display list from different
directions but ultimately they are going to call the event listeners.

Can some one please answer this ?

Regards,
Nirav
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - -

This message is intended only for the personal and confidential use of
the designated recipient(s) named above. If you are not the intended
recipient of this message you are hereby notified that any review,
dissemination, distribution or copying of this message is strictly
prohibited. This communication is for information purposes only and
should not be regarded as an offer to sell or as a solicitation of an
offer to buy any financial product, an official confirmation of any
transaction, or as an official statement of Lehman Brothers. Email
transmission cannot be guaranteed to be secure or error-free. Therefore,
we do not represent that this information is complete or accurate and it
should not be relied upon as such. All information is subject to change
without notice.

 

Reply via email to