So I figured out that std haxe MouseEvent is overriden by openfl one in case of flash target.
How can i override openfl version by my own class or target compiler to use std haxe one somehow?
I can simply define my own event name string like "rightClick" to catch event, but it doesnt work with html5 target at all. Default browser menu pops up and no event catched. Is there any examples of html5 haxe apps catching right click?