Html 5 ClickToGoToAndStop causing freeze
I started a project back in Flash 2014 Canvas that use the code below. Over the last several years I have made updates to it. It has worked fine until recently.
The project has 5 frames. Each frame contains its own MovieClip. In some of the MovieClips I use the code below. As I navigate through my 5 frames if I click on a frame that includes a movie clip with the code below the project freezes when testing in web browser. I have tried Safari, Firefox and Chrome and they all freeze.
If I remove the code I can navigate through the 5 frames without a problem. I have opened the file in Flash 2014, 2015 and Animate and get the same error. The code I am using is the html code snippet Flash provides.
Does anyone know if something has changed with HTML 5 or JS that Adobe didn't update and the newer browser don't like it?
- - - - - - - - - - - -
this.ElvA.addEventListener("click", fl_ClickToGoToAndStopAtFrame.bind(this));
function fl_ClickToGoToAndStopAtFrame()
{
this.gotoAndStop(1);
}
- - - - - - - - - - - - -
Any insight is appreciated.
Thank you,
Brett
