5 Replies Latest reply on Dec 6, 2006 1:03 PM by kglad

    OnPress scoll mc

    twistedpancreas
      hi im trying to set up an mc (Numbers) that scrolls onPress of a mc (fastBtn) but it doesn't seem to be working, have i stuffed up?

      var myNum:Number = 0;
      trace(myNum);

      while (myNum > 1) {
      Numbers._y -= 5;
      }

      fastBtn.onPress = function() {
      myNum = 2;

      };

      fastBtn.onRelease = function() {
      myNum = 0;

      };