xml refresh in flash
xml refresh in flash
- Started
- Last post
- 3 Responses
- cure
hi guys, gotta problem, i got this dinamic flash site that displays XML info...but, if I update the xml files, the movie would keep showing the old stuff couse the swf is cashed in memory.
Is there any way to force the swf to refresh completey every time you enter the page so that it displays always the latest xml uploads??Thanks a buch for the help!!
- cure
- unfittoprint0
myXML.load("file.xml?"+Math.rand...
- cure0
thanks! ill try that out, coud you explain me why the math random though?
- unfittoprint0
you coudl use this technique to whatever loading procedure you use [loadMovie, loadVars].
it prevents the loading of a 'cached file' in the user's system.
the server will not recognize the file, because the random string is always different, therefore 'new'.