• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Flash to HTML5 Canvas javascript error when publish

Participant ,
Mar 24, 2019 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.

Views

3.4K

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
community guidelines

correct answers 1 Correct answer

Community Beginner , Jun 11, 2019 Jun 11, 2019

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

...

Votes

Translate

Translate
Participant ,
Mar 24, 2019 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

Votes

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
community guidelines
Community Beginner ,
Jun 11, 2019 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.

Votes

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
community guidelines
New Here ,
Dec 11, 2019 Dec 11, 2019

Copy link to clipboard

Copied

LATEST

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.

Votes

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
community guidelines