# Stretch error when using 3D rotation

**URL:** <https://forum.kirupa.com/t/stretch-error-when-using-3d-rotation/307453>\
**Category:** flash\
**Created:** [April 3, 2010, 5:42pm UTC](https://forum.kirupa.com/t/stretch-error-when-using-3d-rotation/307453 "2010-04-03T17:42:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![asNewb01](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@asNewb01](https://forum.kirupa.com/u/asNewb01)\
**Post date:** [April 3, 2010, 5:42pm UTC](https://forum.kirupa.com/t/stretch-error-when-using-3d-rotation/307453/1 "2010-04-03T17:42:46Z")

</div>

I have this problem when using “itemsname.rotationY” in as3:

In order to get around the blurring problem when using text with this function, I have made a 200% bigger version of what’s needed, and afterwards used a 50% version instead, but then:

When rotating to …let’s say 60 degree - no problem.

When rotating back to 0 degree - it stretches the movieclip on the Y-axis with almost 125%.

Anybody know why?

The code is simple:  
import flash.events.MouseEvent;

function rotateNow(event:MouseEvent):void {  
m1.rotationY = 0;  
}  
function rotateBack(event:MouseEvent):void {  
m1.rotationY=40;  
}

item1.addEventListener(MouseEvent.MOUSE\_OVER, rotateNow);  
item1.addEventListener(MouseEvent.MOUSE\_OUT, rotateBack);
