Flash AS教程:用计时的方法判断双击的代码(2) */ private function timerStart():Void { clearInterval(_ID); _ID = setInterval(this, "timerStop", _delayTime); } /** Timer stop */ private function timerStop():Void { clearInterval(_ID); if (_count == 1) { _clickedObject.onClick(); //单击 _count = 0; } } }下面是用法: