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...)
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).
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).
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.
Copy link to clipboard
Copied
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.