//设置鼠标移出移入时设设置样式
var touch:Touch = e.getTouch(e.target as DisplayObject, TouchPhase.HOVER);
if (touch) {
Mouse.cursor = MouseCursor.HAND; //手掌型样式。
} else {
Mouse.cursor = MouseCursor.AUTO;
}
//设置鼠标移出移入时设设置样式
var touch:Touch = e.getTouch(e.target as DisplayObject, TouchPhase.HOVER);
if (touch) {
Mouse.cursor = MouseCursor.HAND; //手掌型样式。
} else {
Mouse.cursor = MouseCursor.AUTO;
}
转载于:https://www.cnblogs.com/tankaixiong/archive/2013/02/19/2916648.html