3 Replies Latest reply on May 16, 2007 5:46 PM by kglad

    Action cript getting closer

    kelvis97
      I have a two frame animation here in Flash,
      the first frame of actionscript has what is below,
      the 2nd frame has :
      gotoAndPlay(1)

      This has to be a two frame animation
      were motion is mostly dependant on
      action script w/ the exception of the model
      created in Swift________________________



      pistOn._y = pistOn._y-30;
      pistOn._y = pistOn._y;

      if(pistOn._y < 25){
      pistOn._y = pistOn._x;
      pistOn._x = pistOn._y+30;
      }
      //now to go back up
      else if(pistOn._y > 225){
      pistOn._y = pistOn._y+30;
      }

      Heres the file:
      http://www.kevsblues.com/p4.fla

      Thanks

      Kevin