5 Replies Latest reply on May 19, 2007 6:03 PM by fanglinyong

    the mc function

    fanglinyong Level 1
      hello, everybody:
      i have created a mc named aa_mc, at the action level, add this code:
      aa_mc.onKeyDown = function() {
      if(Key.isDown() == Key.UP) {
      this._y -= 15;
      in this code, i hope when i pressed the "up" arrow, the aa_mc would moved up,
      but the mc didnt moved liked what i thought.
      can anybody tell me why?
      thanks very much!