Copy link to clipboard
Copied
Hi.
I need some help getting an auto icon button on my project to both play and stop/pause a sound. I'm currently using the following, but don't know how to tell it to resume the sound.
this.music.addEventListener("click", fl_MouseClickHandler_6.bind(this));
function fl_MouseClickHandler_6()
{
createjs.Sound.stop();
}
Thank you.
Copy link to clipboard
Copied
use the paused boolean property of your sound instance to pause and unpause (true and false, resp.) your instance.