1 Reply Latest reply on Mar 10, 2010 5:44 AM by Ned Murphy

    How do i set sound volume to 0 on a mute button

    stewart brown

      Hi

       

      I'm very new to flash and i've made a movie for a website http://dev.ourlastingtribute.com/index.php and i want to set the sound to 0 on my mute button at the moment i've put this code in

       

      on (release) {
          stopAllSounds();
          gotoAndStop(2);
      }

       

      which i know is wrong I think it should be something like

       

      mySound.setVolume(0)

       

      but when i write this it doesn't work can anyone help?