|
Immediately before ActionScript dispatches a given event, it predetermines the entire
event flow for that dispatch based on the current state of the event target’s display
hierarchy. That is, the list of objects that will be notified of the event, and the order
in which those objects will be notified, is predetermined before the event dispatch
begins. Once the event dispatch begins, objects are notified of the event according to
that predetermined order—even if the structure of the target object’s display hierarchy
is modified by event listeners during the event dispatch. |
|