mc.addEventListener(MouseEvent.CLICK,fun01);
function fun01(evt:MouseEvent):void
{
mc.removeEventListener(MouseEvent.CLICK,fun01);
mc.addEventListener(MouseEvent.CLICK,fun02);
setTimeout(Reset,300);
}
function fun02(evt:MouseEvent):void
{
dispatchEvent(new Event("DoubleClick",true,true));
mc.addEventListener(MouseEvent.CLICK,fun01);
mc.removeEventListener(MouseEvent.CLICK,fun02);
}
function Reset():void
{
mc.addEventListener(MouseEvent.CLICK,fun01);
mc.removeEventListener(MouseEvent.CLICK,fun02);
}