# AS2 Rotation Problem Bug width / height

**URL:** <https://forum.kirupa.com/t/as2-rotation-problem-bug-width-height/329719>\
**Category:** flash\
**Created:** [October 6, 2012, 5:36pm UTC](https://forum.kirupa.com/t/as2-rotation-problem-bug-width-height/329719 "2012-10-06T17:36:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kicker1810](https://avatars.discourse-cdn.com/v4/letter/k/aeb1de/32.png) [@kicker1810](https://forum.kirupa.com/u/kicker1810)\
**Post date:** [October 6, 2012, 5:36pm UTC](https://forum.kirupa.com/t/as2-rotation-problem-bug-width-height/329719/1 "2012-10-06T17:36:35Z")

</div>

Hello.  
Here are the facts:  
I have a ball in a MC registration point:center width = height = 25  
I want it to rotate continuously :  
cursor.\_rotate += 5  
Trace the width / height within onEnterFrame = function()  
trace(“w=” + cursor.\_width + " h=" + cursor.\_height) and instead of 25 i get:  
w=25 h=25  
w=27.1 h=27.1  
w=29 h=29  
w=30.6 h=30.6  
w=32 h=32  
w=33.2 h=33.2  
w=34.1 h=34.1  
w=34.8 h=34.8  
w=35.2 h=35.2  
w=35.3 h=35.3  
w=35.2 h=35.2  
w=34.8 h=34.8  
w=34.1 h=34.1  
w=33.2 h=33.2  
w=32 h=32  
w=30.6 h=30.6  
w=29 h=29  
w=27.1 h=27.1

and then it starts over.  
Except that i need to have the exact sizes for the code to compare it with other sizes, when i try to modify the size with  
cursor.\_width += 12.5  
cursor.\_height += 12.5  
the once round ball becomes oval.
