6 Replies Latest reply on Jan 14, 2018 9:01 AM by Thad Zeitlin

    How to create mute and unmute sound button in animate cc (html canvas)

    henrycramer50858

      Hi,

       

      how could I create a mute/unmute sound button in animate cc (html canvas). I thought in this way

       

      this.Btn_SoundOff_Inst.addEventListener("click", fl_Click_SoundOff.bind(this));

      function fl_Click_SoundOff()

      {

         this.createjs.Sound.getMute();

      };

       

      Unfortunately it doesn´t work. What could I do?

       

      Thanks in advance.