Linking Buttons to Frames in an HTML5 Canvas Animation
I have an animation that I've created with an HTML5 Canvas, and I have 3 active buttons, that when clicked should link to the respective frame where the new section starts. The end of each section has a Stop Script on it.
When I add a script to the buttons, and then publish the video, the buttons don't work.
I'm using a script provided for HTML5 Canvases:
this.button_1.addEventListener("click", fl_ClickToGoToAndPlayFromFrame.bind(this));
function fl_ClickToGoToAndPlayFromFrame()
{
this.gotoAndPlay(89);
}
