Having trouble seeing the most current version every time you update a Flash movie? Here’s a quick tip to help you get over that.
I almost always use SWFObject when embedding a Flash file into an HTML page. I often have problems in seeing the most recent versions when I make incremental updates to a SWF.
To eliminate this, I now add a random query string to my file name. So instead of…
swfobject.embedSWF("myContent.swf", "myContent", "300", "120", "9.0.0");
swfobject.embedSWF("myContent.swf?" + Math.random(), "myContent", "300", "120", "9.0.0");
It eliminates the caching problem by tricking the browser into looking for a different file without changing the location of your movie. Not an original trick by any means, but I hope it helps someone out there.