Do not use the dispatchEventRaw method unless you want to override the way how events are dispatched for display list object. Please use dispatchEvent instead.
Source
void dispatchEventRaw(Event event, EventDispatcher target, EventPhase eventPhase) { event._isPropagationStopped = false; event._isImmediatePropagationStopped = false; var eventStreams = _eventStreams; if (eventStreams == null) return; var eventStream = eventStreams[event.type]; if (eventStream == null) return; eventStream._dispatchEventInternal(event, target, eventPhase); }