# \[F8\] Old file script problem

**URL:** <https://forum.kirupa.com/t/f8-old-file-script-problem/172510>\
**Category:** flash\
**Created:** [December 15, 2005, 12:28am UTC](https://forum.kirupa.com/t/f8-old-file-script-problem/172510 "2005-12-15T00:28:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dec27](https://avatars.discourse-cdn.com/v4/letter/d/2bfe46/32.png) [@dec27](https://forum.kirupa.com/u/dec27)\
**Post date:** [December 15, 2005, 12:28am UTC](https://forum.kirupa.com/t/f8-old-file-script-problem/172510/1 "2005-12-15T00:28:17Z")

</div>

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!
