hey ragazzi, i’ ve a problem (the real problem is: i dont know to use as)
but, perhaps anyone can help me with that. (using this code)
on (press) {
startDrag(this);
this.swapDepths(100);
_root.dropResponse = “mc1of6”;
}
on (release) {
stopDrag();
if (this._droptarget=="/target1") {
_root.business.gotoAndStop(2);
_root.dropResponse = “OK”;
} else {
setProperty(this, _x, 510);
setProperty(this, _y, 243);
_root.dropResponse = "WRONG";
}
}
ok…
-
i have six objects with an only target, i want that the object (if released outside the target area) turn back to its position with an EASING movement.
-
Then, what can i do to replace an object by another inside the target ?(just dragging to the same target)
thanks in advance. fed.