Hi,

I have recently posted about events at the following URL:

http://flex4java.blogspot.com/
that will help you in clarifying most of the doubts. If you have any
suggestion/comments please share :)

Thanks,
Akhil

On Feb 7, 9:05 pm, Akki <[email protected]> wrote:
> Hi Noorul,
>
> They are two different properties associated with an event. Consider
> the following scenario:
>
> <s:Application>
>    <s:Panel>
>       <s:Button/>
>    </s:Panel>
> </s:Application>
>
> If an event is dispatched by the button it will go thru capture,targetand 
> bubble phase and traverse as shown:
>
> Capture Phase              Target          Bubble
> Application -> Panel ->   Button  ->     Panel->Application
>
> ThecurrentTargetwill always refer to the component where event is
> currently located while going thu this cycle. For example 
> thecurrentTarget(ct) andtarget(t)
>  will change as:
> Capture Phase                                      Target
> Bubble
> Application                         -> Panel ->   Button  ->     
> Panel->Application
>
> ct:Application                          Panel       Button
> Panel   Application
> t:Button                                 Button       Button
> Button    Button
>
> So attargetphase they will both be same.
>
> Thanks,
> Akhil Mittal
>
> On Feb 6, 4:48 am, Noorul <[email protected]> wrote:
>
>
>
>
>
>
>
> > I was asked the following questions in interview
>
> > What is thecurrentTarget,Targetin Flex
>
> > plz advice.

-- 
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