on (press) {
startDrag("_root.mc_atrib_1", true);
}
on (release) {
stopDrag();
if (_root.mc_atrib_1.hitTest(_root.mc_atrib_1_cont)) {
_root.mc_atrib_1._x = _root.mc_atrib_1_cont._x-0;
_root.mc_atrib_1._y = _root.mc_atrib_1_cont._y-0;
} else {
_root.mc_atrib_1._x = _root.mc_atrib_1inicioX;
_root.mc_atrib_1._y = _root.mc_atrib_1inicioY;
}
}
on (press) {
delete this.onRelease;
startDrag("_root.mc_atrib_1", true);
}
on (release) {
stopDrag();
if (_root.mc_atrib_1.hitTest(_root.mc_atrib_1_cont_2)) {
_root.mc_atrib_1._x = _root.mc_atrib_1_cont_2._x-0;
_root.mc_atrib_1._y = _root.mc_atrib_1_cont_2._y-0;
} else {
_root.mc_atrib_1._x = _root.mc_atrib_1inicioX;
_root.mc_atrib_1._y = _root.mc_atrib_1inicioY;
}
}
on (press) {
delete this.onRelease;
startDrag("_root.mc_atrib_1", true);
}
on (release) {
stopDrag();
if (_root.mc_atrib_1.hitTest(_root.mc_atrib_1_cont_3)) {
_root.mc_atrib_1._x = _root.mc_atrib_1_cont_3._x-0;
_root.mc_atrib_1._y = _root.mc_atrib_1_cont_3._y-0;
} else {
_root.mc_atrib_1._x = _root.mc_atrib_1inicioX;
_root.mc_atrib_1._y = _root.mc_atrib_1inicioY;
}
}
Agradezco la ayuda de antemano.