0 Replies Latest reply on Nov 5, 2007 12:36 PM by jherr2006

    Rotating Images from the center

      I want to rotate the image around the center and not the upper left corner. This code:

      var i:Image = new Image();
      i.source = "foo.jpg";
      i.rotation = 45;

      Rotates the image around the upper left corner. I've played around with using the transform system, but with no success. Does anyone have some example code that does something like that?