cвой взгляд на кол-во кликов...

Код:
clickEvents = function (mc:MovieClip, mouseReg:MovieClip) {
var count:Number = 0;
var time:Number = 0;
mc.onMouseUp = function() {
if (this.hitTest(mouseReg._xmouse, mouseReg._ymouse, true)) {
count++;
mc.onEnterFrame = function() {
if (getTimer()-time>200) {
delete this.onEnterFrame;
if (count == 1) {
trace("onceClicked");
}
if (count == 2) {
trace("doubleClicked");
}
if (count == 3) {
trace("trippleClicked");
}
if (count == 4) {
trace("fourTimesClicked");
}
count = 0;
}
};
time = getTimer();
}
};
};
//
clickEvents(clip, this);