Re: [Flashcoders] useCapture = true is faster?

2011-04-05 Thread Henrik Andersson
Capture happens before bubbling. Go for the capture phase if it works for you and you need to shave a few microseconds. Just remember that the capture phase does not extend to the actual target. ___ Flashcoders mailing list

Re: [Flashcoders] useCapture = true is faster?

2011-04-05 Thread Kevin Newman
That's what I thought, thanks. :-) Kevin N. On 4/5/11 2:28 AM, Henrik Andersson wrote: Capture happens before bubbling. Go for the capture phase if it works for you and you need to shave a few microseconds. Just remember that the capture phase does not extend to the actual target.

[Flashcoders] useCapture = true is faster?

2011-04-04 Thread Kevin Newman
Hello all, I'm curious - if I use someObj.addEventListener(MouseEvent.CLICK, someFunc, true); then do evt.stopPropagation - is that faster than if I don't set useCapture = true? The thinking is that it won't have to climb the display list hierarchy down to the target, then back up again -