# Easing with rotation

**URL:** https://forum.kirupa.com/t/easing-with-rotation/29045
**Category:** flash
**Created:** [August 21, 2003, 2:58pm UTC](https://forum.kirupa.com/t/easing-with-rotation/29045 "2003-08-21T14:58:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ikane](https://avatars.discourse-cdn.com/v4/letter/i/43a26b/32.png) [@ikane](https://forum.kirupa.com/u/ikane)
#### Post date: [August 21, 2003, 2:58pm UTC](https://forum.kirupa.com/t/easing-with-rotation/29045/1 "2003-08-21T14:58:28Z")

</div>

I have tried easing a movie clip using the \_x property but when i try to use this code for rotation i never get an accurate result

mc.\_rotation += (angle + mc.\_rotation)\*.1

where:  
mc = my movie clip whose initial rotation is 0  
angle = the angle by which i would like to rotate the movie clip by.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 21, 2003, 3:05pm UTC](https://forum.kirupa.com/t/easing-with-rotation/29045/2 "2003-08-21T15:05:42Z")

</div>

when you say easing, what do you mean exactly? do you want to have the rate of rotation slow down to a stop rather than move at constant speed?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 21, 2003, 4:06pm UTC](https://forum.kirupa.com/t/easing-with-rotation/29045/3 "2003-08-21T16:06:54Z")

</div>

I think the problem is in your math.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 21, 2003, 4:12pm UTC](https://forum.kirupa.com/t/easing-with-rotation/29045/4 "2003-08-21T16:12:21Z")

</div>

```auto
mc._rotation += (angle-mc._rotation)*0.1;

```
