PDA

View Full Version : cashing problems


bahrami
01-12-2002, 01:35 AM
I have a major problem..
My Internet-Explorer cashes the swf . And since I'm constantly updating my site this litle problem has for me become huge.

When I delete the swf from the server and then visits the site again it appears anyway. I'm loading the swf directly from the html.

Not long ago I found a solution to this problem, that came across it with actionscript. But now I cant remember where I found it.. So is there anyone out there who can help me with this..

I think I'll need to figure out a way to generate a random number or something.

zoomfreddy
01-12-2002, 08:41 AM
The trick, is to add after the name of the file a variable like:

getURL ("http://www.some.com/myFile.swf?something=Math.random ()*9999");

I don't remembr if this is the right writting, but try it...

:cool: