9 Replies Latest reply on Aug 30, 2016 3:07 AM by Nipun Asthana

    How to  play and pause timeline sound in animate cc canvas

    sumanr49634048 Level 1

      Hi Every One,


      I am import sound timeline, How to play and pause ?


      below code working fine, but how to control import sound?

      myInstance = createjs.Sound.play("snd_1");

      var sndVar = false;

      function pauseFun(){


              myInstance.paused = true;

              sndVar = true;


              myInstance.paused = false;

              sndVar = false;