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

RE: Javascript errors in HTML5 Canvas project

New Here ,
Mar 28, 2019 Mar 28, 2019

Copy link to clipboard

Copied

Can anyone help me? I have tried everything, I'm new to Animate. I'm taking it in school. I am getting unexpected errors in Javascript using the Actions Wizard in a HTML5 canvas, 800px x 600px and I'm toltally clueless with java, I will be taking it but haven't yet. My project involves moving text, photos, buttons, labels. Are there any known issues? and Yes I checked my naming conventions. But I am still learning it. Regards, Cheryl

Unexpected error.JPG

Views

4.5K

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 Expert , Mar 28, 2019 Mar 28, 2019

Hi.

This is not an error from your script.

You're probably publishing your project with the default Export document as texture option on (File > Publish Settings... > JavaScript/HTML > Image Settings > Export document as texture).

And this option causes this error sometimes.

What you can do is to restart Animate CC and try again. And if the error persists and you don't want to keep restarting, uncheck that option by now.

Also, please report this bug here:

Adobe Animate CC Feature Request/Bug Report Form

...

Votes

Translate

Translate
Community Expert ,
Mar 28, 2019 Mar 28, 2019

Copy link to clipboard

Copied

Hi.

This is not an error from your script.

You're probably publishing your project with the default Export document as texture option on (File > Publish Settings... > JavaScript/HTML > Image Settings > Export document as texture).

And this option causes this error sometimes.

What you can do is to restart Animate CC and try again. And if the error persists and you don't want to keep restarting, uncheck that option by now.

Also, please report this bug here:

Adobe Animate CC Feature Request/Bug Report Form

Regards,

JC

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 ,
Mar 28, 2019 Mar 28, 2019

Copy link to clipboard

Copied

OMG, it worked is this a default setting? I spent all fricken night trying to solve this. I hate troubleshooting but a setting, that really ticks me off. Thank you so much for your help. I will proceed with my project. Are there any other known issues, this is the latest version on cloud of Animate.

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 Expert ,
Mar 28, 2019 Mar 28, 2019

Copy link to clipboard

Copied

Yeah. It is turned on by default.

Even though it has some bugs now, it is a really useful feature because it really helps boosting performance.

Please consider testing your project in the final stage with and without this feature. You never know.

By the way, if you want to get errors that may be coming from your code, you have to look at the browser's console (usually the shortcut is F12).

Another feature that you may want to turn on and off is the advanced layers mode (Ctrl/Cmd + J). Not because it is buggy, but because it requires an extra coding effort to reference instances. So if you don't need advanced stuff like camera or layer parenting, you better turn this feature off.

Regards,

JC

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 ,
Apr 29, 2024 Apr 29, 2024

Copy link to clipboard

Copied

No solutions.... I've update, upgrade,...then,...uninstall animate, reinstall last version...error still there.. I have a simple symbol in my library who I cannot update, or use cause of that arror that I cannot fix.  😞  what does it take to have adobe support ?

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 Expert ,
Apr 29, 2024 Apr 29, 2024

Copy link to clipboard

Copied

@Andrea26785605icfa 

 

please do not post duplicate messages. and see your other post.

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 ,
Apr 30, 2024 Apr 30, 2024

Copy link to clipboard

Copied

LATEST

I found a solution, don't use more than 1 sprite sheet, if you use more than 1 image give the error, if you have everything in 1 image works perfectly.

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