How to change mouse pointer to system default hand/pointer icon hovering button, for example?
Asked
Active
Viewed 1,133 times
1 Answers
3
http://www.kirupa.com/flash/changing_mouse_cursor.htm
package
{
import flash.ui.Mouse;
import flash.ui.MouseCursor;
}
// function
quitButton = new FlxButton(10, 10, "Quit", onQuit);
quitButton.onOver = function():void { Mouse.cursor = MouseCursor.BUTTON; };
quitButton.onOut = function():void { Mouse.cursor = MouseCursor.AUTO; };

Sergey L
- 547
- 2
- 5
- 19