0 Replies Latest reply on Oct 8, 2006 9:39 PM by dainctech

    Compatibility Issues Flash Player 8 from Flash Player 6

    dainctech
      //I am a beginner at Flash so bear with me.When I published my website in flash player 6 my buttons that control a certain movie clip worked correctly; when I published it in Flash Player 8 all of a sudden the discontinued execution. need help with this isssue, Pronto!

      //Code from the button//
      on (rollOver) {
      gotoAndPlay("t1");
      }
      on (releaseOutside, rollOut) {
      gotoAndPlay("t2");
      }
      on (release) {
      if (_root.ykoord>-200) {
      _root.ykoord -= 55;
      }
      }

      //code from movieclip//
      onClipEvent (load) {
      //trace(_y);
      accel = _root.accel;
      rate = _root.rate;
      }
      onClipEvent (enterFrame) {
      y = y*accel+(_root.ykoord-_y)*rate;
      _y += y;
      if (Math.abs(_root.ykoord-_y)<1) {
      _y = _root.ykoord;
      }
      }