Skip to main content
Known Participant
July 2, 2019
Answered

Images are loaded with hardcoded randomizer

  • July 2, 2019
  • 1 reply
  • 464 views

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...)

This topic has been closed for replies.
Correct answer ClayUUID

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).

1 reply

ClayUUIDCorrect answer
Legend
July 2, 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).

Known Participant
July 2, 2019

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.

Legend
July 2, 2019

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.