Hi kglad, thanks reply
is this in as2.. ?
There are a couple of these transform codes in as2 that I found on web, but so far all of them doesn't keep the object proportional. meaning when you pull the mc out, it stretch, either to _x or _y direction, the code doesn't allow you do it like in photoshop while holding shift and pull will keep the original scale.
I tried to make something simple because ppl who use my site is very concern their art being keep at original scale, that I would rather have rotation function on a seperate button.
it wasn't scale because i didn't press shift key as it turn out.
1 person found this helpful
no, that's as3.
but it explains how flash measures width/height after transforms (like rotations) and you can see how senocular solved the problems you're facing.
i see, although it really look much easier if I just use the code instead... I originally thought they could only make it resize without scale, but now i checked I ve missed the fact that I could do shift+pull just like in photoshop thats different story.
And that's way better than my way they can do whole lot more,
mine just zoom in and out , and that's about it.
thank you again, this code is amazing.