IE9 Cache Problem While Refreshing With .swf Files

Problem (see detailsĀ here):

When we test a Flash movie in a web page, the SWF may be cached by the browser software, so that when we make modifications to the SWF, the browser may continue to display the cached version of the SWF and ignore any new version.


adding a time stampĀ new Date().getTime(), thereby force refresh from browser every time:

    swf: "xx.swf?_t=" + new Date().getTime(),
    xml: "xx.xml",
    target: "pano",
    html5: "prefer",
    passQueryParameters: true

It’s said that methods as such don’t work in IE7, and if you want it dealt with, check out AS solutions in the link above.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.