buttonMode 与mouseChildren【替换鼠标之后不响应鼠标事件】
摘要:
import flash.events.MouseEvent;import flash.ui.Mouse;stage.addEventListener(MouseEvent.MOUSE_MOVE,_mouseMove);mc1.addEventListener(MouseEvent.CLICK,onClick);function _mouseMove(e:MouseEvent):void{ Mouse.hide(); mc.x = mouseX; mc.y = mouseY; mc.mouseEnabled=false;}function onClick(e:MouseEvent):void{ 阅读全文