When Capture is true, in the display list , the event is listened by
nodes from root to parent of the target node (even target is excluded
from the event listeners).

When bubble is true, the event is listened by target component first
and then from target's parent node to root node.





On Apr 7, 5:35 pm, Jitendra Jain <[email protected]>
wrote:
> Capture Phase - traverse from the top level component to the inner child
>
>
>
>
>
> > component till it reaches the actual dispatcher  of the event. It is
> > generally used to set some initial parameters or some specific behaviour by
> > the top level component before the event object is given to the inner level
> > object.
>
> > Bubble Phase : traverse from the actual dispatcher of the event to the top
> > root level component. It is used to initimate the top level component that
> > the next inner level component has completed its execution.. Now the top
> > level component can carry its exceution
>
> > On Thu, Apr 7, 2011 at 4:09 PM, denimabhishek 
> > <[email protected]>wrote:
>
> >> When you use capture phase and bubble phase in Action Script 3.0?
> >>   Any one can give real life example? where we will use bubble phase
> >>   and where we will use capture phase.?
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "Flex India Community" group.
> >> To post to this group, send email to [email protected].
> >> To unsubscribe from this group, send email to
> >> [email protected].
> >> For more options, visit this group at
> >>http://groups.google.com/group/flex_india?hl=en.
>
> > --
> > Thanks and Regards,
> > JJain,
>
> >    If you have knowledge, let others light their candles in it --Margaret
> > Fuller:
>
> --
> Thanks and Regards,
> JJain,
>
>    If you have knowledge, let others light their candles in it --Margaret
> Fuller:- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to