Monday, January 3, 2011

Event Flow Chart (useCapture true or false)


I had some confusion about the event flow.

Recently I asked some friends about event flow.

I organize the information I've learned and make them into charts.

If there is an error, please tell me. ^_^

stage structure is --> [stage] - [root] - [mc]



Add listenter to different object and click different object

trace("eventPhase : " + evtObj.eventPhase +
", currentTarget : " + evtObj.currentTarget.name +
", target : " + evtObj.target.name + ", type : " + evtObj.type);

Here is the eight different combinations.

















download sample file:
http://localhostr.com/file/hIMu9Q9/sample_file.fla

No comments:

Post a Comment