# Scale Rotate on MouseEvent.MOUSE\_DOWN

**URL:** <https://forum.kirupa.com/t/scale-rotate-on-mouseevent-mouse-down/228711>\
**Category:** flash\
**Created:** [June 10, 2007, 8:40pm UTC](https://forum.kirupa.com/t/scale-rotate-on-mouseevent-mouse-down/228711 "2007-06-10T20:40:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![explosivo](https://avatars.discourse-cdn.com/v4/letter/e/8baadc/32.png) [@explosivo](https://forum.kirupa.com/u/explosivo)\
**Post date:** [June 10, 2007, 8:40pm UTC](https://forum.kirupa.com/t/scale-rotate-on-mouseevent-mouse-down/228711/1 "2007-06-10T20:40:47Z")

</div>

Hi all!  
I got a problem and I just can’t find any working solutions for actionscript 3. I’m not an actionscript guru like many of you guys and so I can’t figure out how to make this work. The attachment shows just what I’m looking for. A simple button that when pressed rotates and scales the content depending on mouse position.

Yeah I know I’m lazy, but a function like this would take me weeks to figure out on my own with all the math functions involved.

Any suggestion is [FONT=&quot][/FONT]progress.
