Skip to main content
May 15, 2012
Question

rotate image and scale image

  • May 15, 2012
  • 1 reply
  • 1610 views

Hi want to rotate a image and also scale the image ,but could not get sucess ,please help me

This topic has been closed for replies.

1 reply

kiran1989
Inspiring
May 15, 2012

Hi sumit,

You can use rotation property in display object and for scaling you can use scaleX,scaleY properties.

May 15, 2012

Hi Kiran,

            Thanks for your reply, i am using this property,but having the problem of axis point in x and y, because i hav to implement the scrollar also when user zoom the image in both the direction

Ned Murphy
Legend
May 15, 2012

If you are zooming and rotating and otherwise manipulating the position of the image, you need to place it inside a container and manipulate the container for scaling.