Changing the Cursor

Monkey Targets Forums/Flash/Changing the Cursor

time-killer-games(Posted 2012) [#1]
How do I change the cursor when the cursor is over the flash game window? I know one way of doing this, which draws an image at the MouseX and MouseY positions, but the OS default cursor still shows up, which it overlaps the cursor I want to show. Is there a way to hide the default cursor on mouse over?

I know it can be done in CSS, cursor:none, but I've seen on google that not all browsers support this. Can it be done in action script or a monkey module?

Thanks in advance!
TKG


therevills(Posted 2012) [#2]
Diddy has a function called HideMouse(), which calls an Extern function that hides the mouse cursor for Flash, HTML5, XNA and GLFW.


time-killer-games(Posted 2012) [#3]
Thanks! Downloading it now. :)