Force loading xml

Hello everybody!

I have a problem: I have made a XML-driven menu, but it seems to me that the .swf file loads the XML file from memory, not from the disk. That is because of two things: I’m developing the site on a local server and when I run the site from the online adress, when I click a button from the menu, it directs me to pages from the local server. Also, on the local server, when I modify the XML file to add a button, the menu still shows the old configuration, unless I reset the server.

My best guess is that either the SWF file or the XML is loaded from memory, not from disk/server. How can I force the SWF to load the XML from disk? Is there a function, method, property or something to do this, or to clear the cache before loading?