Hi again thanks for all your suggestions. I went ahead and added a query string to the end of all requested URLS, both in the html page for the swf url, and for the urls of loaded assets (jpegs and xml). I chose to use the UTC date in milliseconds as the value for the query, eg. "main.swf?nocache=1149964387864". In javascript I got that like so -
var today_date = new Date(); var nocache = today_date.getTime(); and passed that into flash through the embed tag. It works great. As a side note, after all that effort I realised that one of the tools I already use can prevent the browser caching of content. The Charles http proxy (www.xk72.com) has a setting called 'No caching'. The settings dialog for this feature says - "Removes HTTP headers relating to cache control so that the browser is unable to cache pages". It seems to work prefectly well. It of course only works on my local machine, so it would not stop a client or anyone else having problems with cached content. But its a good quick fix. _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
