This sentiment is not uncommon but I still disagree. There are many
instances when I want to know which element is dispatching the event. As
stated, using currentTarget exclusively means you can only get a reference
from the instance to which the listener is attached. Doing this all the time
practically negates event cascading.

I think they both have their purposes and should be used accordingly.


On 6/5/08 8:17 AM, "EECOLOR" wrote:

> The cases where you would use
> event.target are so rare that I would urge everyone to allways use
> event.currentTarget.

Rich
http://www.LearningActionScript3.com


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to