10 Replies Latest reply on Jun 10, 2009 7:46 PM by kglad

    Tweening with action script +/- from a set location

    chewbears Level 1

      I know the basics of tweening with action script but I have a picture set in the center of the stage at x = 50.  On a click I would like that picture move - 10 x from that position so it will end the tween at 40.  On a different button I would like to do the oppositie, + 10 x to its current position so if it was at 40 it would be back to the start and if it was at the start it would be at 60.

       

      Thanks