例如,如何将鼠标指针更改为系统默认的手形/指针图标悬停按钮?
问问题
1119 次
1 回答
3
http://www.kirupa.com/flash/chang_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; };
于 2012-05-20T00:10:16.730 回答