3 Replies Latest reply on Nov 30, 2007 8:58 AM by Varangian

    Rotated objects coordinates x y

    Varangian Level 1
      hi....

      I'm quite a n00b when it comes to flex...

      I have an <mx:Image> object with 158. are the X and Y of an object when this object is rotated using the <mx:Rotation>. Ok I just rotated an image to 1 degree. First it's X and Y where like 158 and 204 and then when rotated it became 158.00000000001 and the Y the same with lots of 000000 and a number somewhere.

      My question is how is this calculated? Anyone knows what is the formula for calculating the new X and Y after an object is rotated?

      Thanks!