1 Reply Latest reply on Mar 19, 2008 10:28 AM by bill_mpls

    Moving a movie clip with a button

    bill_mpls
      I know this should be easy and I am halfway there.
      What I have is a movieclip inside a movie clip that I need to move in the _y direction.
      The buttons are also inside the movieclip.
      The code that I have so far is attached, and it moves the check_movieclip appropriatly.
      The problem is that if I continue to press either the up or down button it will continue to move the check_mc.
      I need it to only move it once in either direction.
      The current _y position of check_mc is 70 and the position i need it to move to is 100.
      So if I press the down_btn it will move to an _y position of 100 and if I press the down_btn again it will stay at _y ==100.
      If I press the up_btn it will move to an _y position of 70 and if I press up_btn again it will stay at _y ==70

      I am just missing something.
      Thanks for any and all help.