I’m trying to get a compass effect and with these script I can, but how can I get some easing effect?
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root._ymouse-this._y, _root._xmouse-this._x);
myDegrees = Math.round((myRadians*180/Math.PI));
this._rotation = myDegrees+90;
}
Thanks in advanced!