is there a way to hide default cursor[flash]when it's opened using chrome?
i can hide it using ordinary way when it's opened using firefox/IE but somehow it doesn't work when it's opened using google chrome.
Many thanks
is there a way to hide default cursor[flash]when it's opened using chrome?
i can hide it using ordinary way when it's opened using firefox/IE but somehow it doesn't work when it's opened using google chrome.
Many thanks
I've tried this
import flash.ui.Mouse;
Mouse.hide();
and it worked for me in google chrome.
then try to add a timer first that calls the Mouse.hide() function. Something like:
var myTimer : Timer;
myTimer = new Timer(300, 1);
myTimer.addEventListener("timer", timerHandler);
myTimer.start();
function timerHandler(event:TimerEvent):void {
Mouse.hide();
myTimer.stop();
}
i have the same problem. any solutions? the timer workaround doesn't work for me!
best, marco
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".