penso che possa bastare questa verifica
codice:
on (press) {
xmov = _root._xmouse;
ymov = _root._ymouse;
this.startDrag();
}
on (release) {
if (xmov != _root._xmouse || ymov != _root._ymouse){
this.stopDrag();
} else {
getURL("javascript:inco('/xxxx/y.htm')");
this.stopDrag();
}
}
on (rollOver) {
gotoAndPlay(2);
mx.behaviors.DepthControl.bringToFront(this);
}
on (rollOut) {
gotoAndPlay(11);
}
l'unica mia perplessità sta nel fatto che se uno vuole cliccare e per errore trascina anche di pochissimo, il comando getURL non va, ma se ti serve così dovrebbe andare bene questo