# Problem with rotation using rotateAroundExternalPoint method

**URL:** <https://forum.kirupa.com/t/problem-with-rotation-using-rotatearoundexternalpoint-method/321666>\
**Category:** flash\
**Created:** [April 27, 2011, 5:19am UTC](https://forum.kirupa.com/t/problem-with-rotation-using-rotatearoundexternalpoint-method/321666 "2011-04-27T05:19:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pram\_25](https://avatars.discourse-cdn.com/v4/letter/p/77aa72/32.png) [@pram\_25](https://forum.kirupa.com/u/pram_25)\
**Post date:** [April 27, 2011, 5:19am UTC](https://forum.kirupa.com/t/problem-with-rotation-using-rotatearoundexternalpoint-method/321666/1 "2011-04-27T05:19:33Z")

</div>

Hi Everyone,

I am using MatrixTransformer to scale and rotate movieclip.  
For scaling setScaleX and setScaleY methods are used and for rotation rotateAroundExternalPoint method is used.

My Problem is as follow:  
I rotate image from “a” to “b” angle. The I scale it. And then again I am try to rotate it to original position (from “b” to “a”).  
This time when try to rotate, it rotates from “c” to “b”. (Actually it should rotate from “b” to “a”)

If I am not using scaling, rotation works fine.  
I am using slider for rotation and scaling.

I tried a lot but I am not getting solution for it. Please Help.
