8 Replies Latest reply on Oct 10, 2007 10:52 AM by kglad

    How do I play a MC when the getVolume Method reaches a certain number?

    Hellyhansenv
      Anyone have any tips or suggestions as to how I can play a movie clip once my volume level for my music reaches a cetain number/level?

      Here's my code:

      player_mc.volumeUp_btn.onRelease = function (){
      if(song.getVolume() < 100) {
      song.setVolume(song.getVolume() + 20);
      if(song.getVolume() == 80) {
      volume1_mc.gotoAndStop(2);
      volume2_mc.gotoAndStop(2);
      volume3_mc.gotoAndStop(2);
      volume4_mc.gotoAndStop(2);
      }
      }
      }

      Anything is much appreciated!

      codeJunky