📅  最后修改于: 2022-03-11 15:02:05.635000             🧑  作者: Mango
createjs.Sound.on("fileload", handleLoad);createjs.Sound.registerSound("sounds/youraudio.mp3", "myID", 3); function handleLoad(event) { createjs.Sound.play("myID"); // store off AbstractSoundInstance for controlling var myInstance = createjs.Sound.play("myID", {interrupt: createjs.Sound.INTERRUPT_ANY, loop:-1}); }