Highlighted

RE: Javascript errors in HTML5 Canvas project

New Here ,
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

Adobe Community Professional
Correct answer by JoãoCésar | Adobe Community Professional

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

TOPICS
Discussions

Views

432

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

RE: Javascript errors in HTML5 Canvas project

New Here ,
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

Adobe Community Professional
Correct answer by JoãoCésar | Adobe Community Professional

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

TOPICS
Discussions

Views

433

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 28, 2019 0
Adobe Community Professional ,
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

__________________________________________
HTML5, JSFL, and AS3 samples: http://bit.ly/2mJgDoG

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 28, 2019 1
New Here ,
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.

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 28, 2019 0
Adobe Community Professional ,
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

__________________________________________
HTML5, JSFL, and AS3 samples: http://bit.ly/2mJgDoG

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