AIR 1.5 – hiding the mouse cursor
To hide the mouse in your AIR app, you can insert once this on your applicaion init script:
Mouse.hide();
Sometimes, even though the documentation says that it’s possible,this if this wasnt’t able to hide the mouse cursor so you can try this workaround:
stage.nativeWindow.activate();
stage.nativeWindow.orderToBack();
stage.nativeWindow.orderToFront();
Mouse.hide();
We notice that on OSX, mouse.hise() fail to work in fullscreen interactive until was clicked somewhere on the stage, so You can raise a click, just before the Mouse.hide(), with :
dispatchEvent( new MouseEvent( MouseEvent.CLICK ) );