Groups | Blog | Home
all groups > flash actionscript > june 2004 >

flash actionscript : external XML not refreshing



JasBU
6/11/2004 11:26:44 PM
The news section of a site I'm working on uses XML to load the articles
externally. Everything seems to work fine on the first run, but if I change
the XML file and then reload the swf file, the old XML info (before it changed)
is still used. It's not reloading the XML file; it seems to be using a cached
version.

Does anybody know how to make the swf reload the XML file every time it opens
without going to the cached version?

Thanks,
Jason
ts.com
6/11/2004 11:46:03 PM
Im a flash noob but... my understanding is the only sure way to do it is to use
either a random number or something based on the time like the utc in a query
string maybe like
tl.ut=utc
tl.loadvariables("","","GET")
AddThis Social Bookmark Button