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

Images are loaded with hardcoded randomizer

Community Beginner ,
Jul 02, 2019 Jul 02, 2019

Copy link to clipboard

Copied

Hello everybody.

When compiling to a HTML5 canvas locally, the javascript-file contains links to the spritesheets.

If it's done, using CTRL-Enter, it adds a hardcoded randomizer at the end of each spritesheet link like this: index_atlas_NP.png?328372920 which causes problems for a certification function to validate correctly.

When publishing, it does not add a randomizer.

Is it possible to force Animate not to add a randomizer when using CTRL+Enter?

(I know, it comes with the expense of nocaching...)

Views

261

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

LEGEND , Jul 02, 2019 Jul 02, 2019

No. This is a literal PEBCAK. If you don't want the cache-busting digits that are added when testing a page (Ctrl-Enter), then publish it instead (Shift-Alt-F12).

Votes

Translate

Translate
LEGEND ,
Jul 02, 2019 Jul 02, 2019

Copy link to clipboard

Copied

No. This is a literal PEBCAK. If you don't want the cache-busting digits that are added when testing a page (Ctrl-Enter), then publish it instead (Shift-Alt-F12).

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 ,
Jul 02, 2019 Jul 02, 2019

Copy link to clipboard

Copied

Yes, I know it's a PEBCAK - just wanted to make sure, there were no other way than relying on the developers being careful to publish after testing, each time.

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
LEGEND ,
Jul 02, 2019 Jul 02, 2019

Copy link to clipboard

Copied

LATEST

If you can't trust your developers to press the right keys when doing their jobs, you could always develop a Perl or Python script to scan the generated HTML files and, if necessary, strip the digits.

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