How to do i loop my sound in javascript/html output?
I'm publishing my animate file as Javasript/HTML and have the code below. How would I amend this to allow my sound file to loop? Everything plays at the moment apart from looping. Thanks.
_main = this;
this.stop();
createjs.Sound.on("fileload", handleFileLoad);
createjs.Sound.registerSound("sounds/soundtrack.mp3", "MySound");
function handleFileLoad()
{
_main.audio1 = createjs.Sound.play("MySound");
_main.play();
}
