feathers ui 鼠标移出事件

//设置鼠标移出移入时设设置样式
var touch:Touch = e.getTouch(e.target as DisplayObject, TouchPhase.HOVER);
if (touch) {
Mouse.cursor = MouseCursor.HAND; //手掌型样式。
} else {
Mouse.cursor = MouseCursor.AUTO;
}

posted @ 2013-02-19 10:27  itank  阅读(224)  评论(0编辑  收藏  举报