mc.buttonMode=true;//设置鼠标手型 mc.addEventListener(MouseEvent.MOUSE_DOWN, tuo); function tuo(event:MouseEvent):void { mc.startDrag(); } mc.addEventListener(MouseEvent.MOUSE_UP, ting); function ting(event:MouseEvent):void { mc.stopDrag(); }
?
?
?
?
------------------------------------------------