private var _mouseDownTime:int; private function e_MOUSE_DOWN(evt:MouseEvent):void { _mouseDownTime = getTimer(); } private function e_MOUSE_UP(evt:MouseEvent):void { if (getTimer() - _mouseDownTime < 275) { e_CLICK(evt); } }?防止频繁点击,应该会有些用途。
private var _mouseDownTime:int; private function e_MOUSE_DOWN(evt:MouseEvent):void { _mouseDownTime = getTimer(); } private function e_MOUSE_UP(evt:MouseEvent):void { if (getTimer() - _mouseDownTime < 275) { e_CLICK(evt); } }?防止频繁点击,应该会有些用途。