|
-
I have a flash file that is reading from a text file, the text file is periodically replaced by a script - however ... whenever i load the flash page, the flash player is still using the old flash file. I've tried many things ... how do I get the flash player or the flash file to expire so new content shows up?
currently i have to delete my temporary internet files before i see the new content ...
any help is greatly appreciated.
-
Currently you must have something like a little "loader" for your text file to be displayed properly, I mean when the flash player have read the file... You must verify that your text box is "dynamic" and the best thing you have to do is not to write anything in this box, then you'll know if this is a text file problem or a variable problem. Use the trace action to know if your text file have been loaded.
Hope it'll help.
donBen
-
Hi,
use this code
loadvriablesNum('yourtext.txt?rubbish='+...., 0)
Use either the current time or a random number for the ..., like random(9999)
If you have server scripting, you could read the file through a script. If the content is updated on a specific schedule, a script could be used to transmit the scheduled expiry dates to browsers that honor this info
Musicman
-
I'm using ASP. The file that the flash file is on has the Response.Expires = 0 and the Response.Addheader "pragma","no-cache" settings added.
DonBen, the text file reads fine ...
I will try that when I get home MusicMan ... thanks for the info ...
Dan
-
Hi,
is the expires / no-cache stuff used as a response to the loadvariables (is the swf reading an asp script, in plain words?), or is it the html container for the swf that gets the no-cache treatment? It definitely will only work when loading vars from a script 
Musicman
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|