1 Reply Latest reply on Sep 19, 2007 10:32 PM by kglad

    Help PLEASE with x,y moving

    SK84evaa
      Hello I am trying to move around a graphic by using action scripting. this is all I could figure out
      buttonhome.onPress = function() {
      main.onEnterFrame = function() {
      this._x -= 4;


      };
      };

      BUT it just keeps moving (main) my graphic forever. I would like it to do something like If main._x = (-400) then stop.. Please help I am new to action scripting thanks!!