browswer shows old swf
- Started
- Last post
- 11 Responses
- smartK
I already uploaded the new swf file a dozen times, but the browswer still shows the old one!
man it's a news scroller, it's really important that it shows me the new one ... I've had this problem several times, but haven't found a solution yet ...
- petzi0
click and in the browser. this should load the actual version.
- Mick0
delete your browser cache and restart ur browser.
- smartK0
it doesn't work - I guess it's stored on our proxy server.
Even if it WOULD work, it's no solution ... the user shouldn't have to delete his cache in order to see the current news scroller....
would it help to load the news lines from an external txt/xml file?
- Danski0
SWFs just cache like bastards i'm afraid. People will only see the old ticker if they're a previous visitor and even then it should refresh for them at some point.
- lnu0
rename it?
- n_smooth0
It doesn't matter if you use external txt files. It's still cached. Luckly (for me) IE in Mac OS X seems to refresh the SWF file when you refresh the page. Safari doesn't. Probably no help at all if you are on a PC or going through a proxy.
- SirG0
There's actually a very simple solution to this. Just add a random number behind your swf-url...
So in flash it would look something like this:
nocache = random(999999);
holder.loadMovie("myswf.swf?"+no...You can also do this in html with any serverside scripting language...
- smartK0
it worked!
sirG you are a hero, thanks!
- smartK0
damned, it only works if the html file is in the same folder as the swf files
- smartK0
forget my last post.
(I had to address the swf file absolutely, not relatively)
- SirG0
You're welcome!
Actually, a relative address should also work... Do you have a url?