onClipEvent (load) {
doubleclickDuration = 200;
lastClick = 0;
}
onClipEvent (mouseUp) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (lastClick == 0) {
lastClick = getTimer();
} else {
lastClick = 0;
//inserire qui l'azione da fare
_root.nextFrame();
}
}
}
onClipEvent (enterFrame) {
if (lastClick>0) {
if ((getTimer()-lastClick)>doubleclickDuration) {
lastClick = 0;

}
}
}