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

flash actionscript : XML cache


dk_says_hey
2/22/2004 8:52:28 PM
im having trouble with the xml object. i call the getXML() function every 30
seconds to re-load the data. i know that the server is sending different xml
pages every time, but the xml object doesn't change after the first load. this
only happens in the browser, when i test the movie in flash, everything works
fine. does xml have a cache, this would explain it. please help!

xml_data = new XML();
xml_data.onLoad = XMLload;

function getXML() {
xml_data.load("some url");
}

function XMLload(success) {
//statements...
}
nITiNkIlLeRmEeRuT
2/23/2004 7:45:11 AM
Yeah when the xml file loads it is cached in the temporary internet files
folder. To overcome this problem give the absolute path of the file name in the
load() Method.
e.g.
xml_data.load("http://www.url.com/abc.xml);

Hope this helps

Nitin
AddThis Social Bookmark Button