Difference between e.target and e.currentTarget

actionscript-3event handlingevents

I don't understand the difference, they both seem the same but I guess they are not.

Any examples of when to use one or the other would be appreciated.

Best Answer

e.target is what triggers the event dispatcher to trigger and e.currentTarget is what you assigned your listener to.