12 Replies Latest reply on Oct 18, 2007 1:31 PM by texjgc

    Clip moves back and forth on stage

    texjgc Level 1
      Hi. Thanks for reading.

      Here's my problem;

      I have the clip starting out 425 pixels on the X and ending -100 pixels on the X. My movie size is 400 by 100 (banner size).

      I set variables defining the clips "start" and "end". I need the clip to go from 425 on the X to -100 and then from -100 back to 425. So basically I want the clip (which is a car) to move back and forth as long as the movie runs. I could do this with a little animation work but Im trying to get better with actionscript as I know its much more versatile.

      If anyone can help I would appreciate it greatly. Thanks!