Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: open
playlist.load (xmlList+"?r=" + Math.random());
playlist.load (xmlList+"?r=" + new Date().getTime());
The problem, of course, is that after uploading a revised XML file, new items don't appear until I delete browser cache 30+ times, delete the flash object from the server, re-upload it, and do a coo-coo dance on one foot while holding a burning bundle of white sage (none of which should be necessary, minus the coo-coo dance.)
Being a query string, you can only do this on a server, so that kills testing locally with trace(). This is an old trick I used for dynamic images too, but for some reason it's caching the imported XML file no matter what I do.
Any ideas? Docs on precisely how Flash caches files?
I know it's working. I hadn't run Opera in a while so I loaded it up in Opera and it was fine. It's obviously caching, don't want to version the flash object as it is used on 30 or 40 pages. Internet weirdness.