Highlighted

Flash to HTML5 Canvas javascript error when publish

Explorer ,
Mar 24, 2019

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.

Correct answer by Hugo_Reyes | Community Beginner

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.

Views

1.4K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Flash to HTML5 Canvas javascript error when publish

Explorer ,
Mar 24, 2019

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.

Correct answer by Hugo_Reyes | Community Beginner

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.

Views

1.4K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Mar 24, 2019 0
Explorer ,
Mar 24, 2019

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 24, 2019 0
Community Beginner ,
Jun 11, 2019

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 11, 2019 0
New Here ,
Dec 11, 2019

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 11, 2019 0