flash as3鼠标拖拉代码这么写
mc是你要拖动元件的名字。mc.addEventListener(MouseEvent.MOUSE_DOWN,StartDragEvent);mc.addEventListener(MouseEvent.MOUSE_UP,StopDragEvent);function StartDragEvent(e:MouseEvent):void { var obj:Object=e.currentTarget;obj.startDrag();} function StopDragEvent(e:MouseEvent):void { var obj:O...