The eventPhase read-only property of the Event interface indicates which phase of the event flow is currently being evaluated.
eventPhase
external int get eventPhase;