# Flash 6 making script animation smooth

**URL:** <https://forum.kirupa.com/t/flash-6-making-script-animation-smooth/271021>\
**Category:** Uncategorized\
**Created:** [September 17, 2008, 2:00pm UTC](https://forum.kirupa.com/t/flash-6-making-script-animation-smooth/271021 "2008-09-17T14:00:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![deluxmilkman](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@deluxmilkman](https://forum.kirupa.com/u/deluxmilkman)\
**Post date:** [September 17, 2008, 2:00pm UTC](https://forum.kirupa.com/t/flash-6-making-script-animation-smooth/271021/1 "2008-09-17T14:00:36Z")

</div>

I made an animation with actionscript, but i does not play smoothly.  
I can`t use "smooth" cause i have to use flash player 6. i increased my frame rate, but it didn`t change much.

```auto

onEnterFrame = function(){
		 		 		 if(_rotation >= 13) {
		 		 		 		 _rotation -= 40;
		 		 		 } else {
		 		 		 		 _rotation += 0.22;
		 		 		 }
		 		 		 trace(_rotation);
		 		 }
		 }

```

help me please.  
any idea is welcome.
