Copy link to clipboard
Copied
I'm converting old Flash animations to Animate CC HTML5 Canvas animations. I load the .fla file, convert it to HTML5 Canvas form, publish the file with all of the code commented out, and still get a "A JavaScript error occurred" result. Any idea why this is and how I can solve this problem? Many thanks.
1 Correct answer
I'm having the same problem with Animate CC version 19.2. I'm a Mac user, Mojave 10.14.5.
I resolved it in this way: I noticed that when I use Circles Shapes with Shape Tweens, if I tried to export it display the js error. Instead of normal circles, I started using Rectangle Primitive Tool with border radius.
It happens that again with Lines and Shape Tweens, and I know that causes the error because when I remove those layers, the file exports without no problems. So I think that there is a bug i
...Copy link to clipboard
Copied
More information...the problem seems to be with dynamic text boxes. For some reason, if I have even one of them, I get the JavaScript error message. I want text boxes that I can change the text during use. What do I do? Again, thanks.
Mark
Copy link to clipboard
Copied
I'm having the same problem with Animate CC version 19.2. I'm a Mac user, Mojave 10.14.5.
I resolved it in this way: I noticed that when I use Circles Shapes with Shape Tweens, if I tried to export it display the js error. Instead of normal circles, I started using Rectangle Primitive Tool with border radius.
It happens that again with Lines and Shape Tweens, and I know that causes the error because when I remove those layers, the file exports without no problems. So I think that there is a bug in Animate CC 19.2.
I hope that exist another solution, because I have to rework some transitions, that took some time of my day.
Copy link to clipboard
Copied
To add something to the same error. I've noticed that now, if you use the (back) easing, and you don't add the necessary amount of frames to the timeline, that will crash your render and it will trigger a javascript error, but if you change the easing to another one when you get the error, like ease-in-out quart, for instance, it will work. apparently you can't crush your animation timeline anymore.

