se ho ben capito...


onClipEvent (mouseUp) {
if (dragging) {
stopDrag ();
X = this._x;
Y = this._y;
if (_root.torre.bersaglio.hitTest(_root.mco1)) {
this._x=_root.mco1._x;
this._y = _root.mco1._y;
}
if (_root.torre.bersaglio.hitTest(_root.mco2)) {
this._x=_root.mco2._x;
this._y=_root.mco2._y;
}
dragging = 0;
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse,_root._ymouse)) {
dragging = 1;
startDrag (this);
}
}