actionscript 3 - how to hide default cursor in chrome? actionscript 3 - how to hide default cursor in chrome? google-chrome google-chrome

actionscript 3 - how to hide default cursor in chrome?


I've tried this

import flash.ui.Mouse;Mouse.hide();

and it worked for me in google chrome.


The cursor cannot be hidden in Chrome when Flash is running in "opaque" or "transparent" window mode (a bug).

The workaround would be - if your Flash application can run without this mode - to set your wmode option to "window" or remove the option (the default is "window").

The wmode option is something u would change in your HTML file, where either the flash HTML tag is generated or has been put there staticly. Just open up your HTML file and search for the word "wmode".