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

JS / HTML not updating

Community Beginner ,
Sep 26, 2023 Sep 26, 2023

Hello. 
I'm creating a new Html5 canvas doc with Animate, everything is good with the first publish. When I update something or add a new element and publish it again, HTML and JS files are not updated at all, I need to close the file and open it again to publish and see my changes. 

Thanks in advance for the help.

524
Translate
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 , Sep 26, 2023 Sep 26, 2023

Solved the issue like this;
- As a default option, in the image settings images are exported as "textures" which somehow prevents the js export being updated. (Not a cache issue btw, not a single line changes with publishing from Animate)
- Changing the export settings to assets or spritesheet is solving the issue, starts to publish normally.

Translate
Community Expert ,
Sep 26, 2023 Sep 26, 2023

how are you testing?

Translate
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 ,
Sep 26, 2023 Sep 26, 2023

Usual publish settings (ctrl+ent / ctrl+shift+f12) and also I'm using MAMP as a local server.

Translate
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 ,
Sep 26, 2023 Sep 26, 2023

clear your browser's cache before testing.

Translate
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 ,
Sep 26, 2023 Sep 26, 2023

Solved the issue like this;
- As a default option, in the image settings images are exported as "textures" which somehow prevents the js export being updated. (Not a cache issue btw, not a single line changes with publishing from Animate)
- Changing the export settings to assets or spritesheet is solving the issue, starts to publish normally.

Translate
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 ,
Sep 27, 2023 Sep 27, 2023

i don't see that, but glad your problem's resolved.

Translate
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 ,
Sep 28, 2023 Sep 28, 2023

Hi.

This is a problem that happens to me from time to time. To this day I still don't know exactly how to resolve this situation.

 

If possible, please notify the Animate team about this:
https://www.adobe.com/products/wishform.html

Regards,
JC

Translate
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 ,
Sep 28, 2023 Sep 28, 2023

@JoãoCésar 

 

saving your fla with a new name in a new folder and testing with the default publish settings fails to fix it?

Translate
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 ,
Sep 28, 2023 Sep 28, 2023

Hi, k.

 

Never tried.

 

I will do this next time I face the issue.

 

Thanks.

Translate
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 ,
Sep 28, 2023 Sep 28, 2023
LATEST

it always works for me when animate tests fail to show code/stage changes for me.

Translate
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