3 Replies Latest reply on Dec 4, 2006 9:43 AM by Kia70

    Squeeze a picture using Transition

    Kia70
      I am trying to squeeze a jpg but it get squeezed from the top edge down, or from left edge to the right edge of my picture. I need to squeeze from middle of the picture to left and right. I have searched and searched and tried.... found no result. My code is as following:
      mx.transitions.TransitionManager.start(this.my_JPG,
      {type:mx.transitions.Squeeze, direction:0, duration:1,
      easing:mx.transitions.easing.None.easeOut});

      Thanks for the help...

      PS: By the way, I used Dimension too but came nowhere.