4 Replies Latest reply on Jun 19, 2006 8:58 AM by fanglinyong

    control the mc

    fanglinyong Level 1
      hi:
      i want to control the mc ,i created! means that when the mc load, i use the onRollOver function to make it moving from left to right, when the mouse rollout, its stop!
      i use the following code:
      mymc.onRollOver = function() {
      this._x + = 3;
      if(this._x > 300) {
      this._x = 20;
      }
      }
      mymc.onRollOut = function() {
      this.stop() ;
      }
      but its not work !
      thanks very much!