Necesito que me ayuden por favor...
Gracias de antemano...
Aquí está el Código:
Código :
on (press) {
startDrag("_root.may1", true);
}
on (release) {
stopDrag();
if (_root.may1.hitTest(_root.dest1)) {
_root.may1._x = _root.dest1._x;
_root.may1._y = _root.dest1._y;
_root.contt = _root.contt + 1;
_root.may1.enabled = false;
} else if (_root.may1.hitTest(_root.dest5)) {
_root.may1._x = _root.dest5._x;
_root.may1._y = _root.dest5._y;
_root.contt = _root.contt + 1;
_root.may1.enabled = false;
} else if (_root.may1.hitTest(_root.dest6)) {
_root.may1._x = _root.dest6._x;
_root.may1._y = _root.dest6._y;
_root.contt = _root.contt + 1;
_root.may1.enabled = false;
} else {
_root.may1._x = _root.may1iniX;
_root.may1._y = _root.may1iniY;
}
} 