DigiScript
01-23-2001, 03:21 PM
Ok, I am new to ActionScripting so this is probably something stupid I am doing wrong. I did the Drag n Drop tutorial, but when I add the _droptarget command, the StopDrag stops working. The startDrag and stopDrag work fine by themselves, but as soon as I add a _droptarget, the object I am dragging sticks to the mouse until you click again, instead of stopDragging on release as specified.
Any help?
on (press) {
startDrag (this, true);
}
on (release) {
stopDrag ();
if (this._droptarget == "/target") {
_root.target.gotoAndPlay(2);
}
}
Thanks in Advance
Any help?
on (press) {
startDrag (this, true);
}
on (release) {
stopDrag ();
if (this._droptarget == "/target") {
_root.target.gotoAndPlay(2);
}
}
Thanks in Advance