How can I control Audio with Adobe Animate on a HTML5 canvas?
Hi,
creating Actionscript 3 buttons that controlled audio (play/stop) worked fine for me.
But on a HTML5-Canvas I just cant get it to work.
The start/stop options under properties are also not working with HTML5.
This is my buttons action. Does anybody have an idea what I can add to stop a certain MP3 from playing when clicked?
this.negBtn01.addEventListener("click", fl_ClickToGoToAndStopAtFrame.bind(this));
function fl_ClickToGoToAndStopAtFrame()
{
this.gotoAndStop("01_neg");
??????????? ( WHAT CAN I ADD HERE?) ????????????????
}
If the problem can be solved differently, please let me know.
