I am having problem in refreshing xml file.I have a flash file that is connected to xml file.When I insert or edit something the xml file does not update until I clear the cache of the browser.I tried to use

xmlLoader.load("myXML.xml?cacheBreaker=" + Math.random() * 500);

but it gives me error.Do I have to put this line of code in my xml file or php file that is creating the xml file.Please help
Thanks in advance

I am new to XML & flash .Could you tell me how to create or update XML file when insert or edit something.
Because I need to do same .

This article has been dead for over six months. Start a new discussion instead.