I got this drag code online (here, in fact), and pasted it into my actions.
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 5;
}
onClipEvent (enterFrame) {
var endX = _root._xmouse;
var endY = _root._ymouse;
_x += (endX-_x)/speed;
_y += (endY-_y)/speed;
this._rotation += 20;
}
It’s not working, but it works on another movieclip…help?