2 Replies Latest reply on Oct 12, 2006 9:09 PM by CompJock

    how to write a simple jump and drop action?

    ricky1980
      Dear All,

      Assume that i have a moiveclip (mc) and a button ( jump ). I want to write a script if i press the "jump" button ,the "mc" will jump a certain height , then drop to a original position.

      jump.onPress=function() {
      mc._y-=10;
      mc._y+=10;
      }


      Wing