# Force loading xml

**URL:** <https://forum.kirupa.com/t/force-loading-xml/270235>\
**Category:** flash\
**Created:** [September 7, 2008, 10:34am UTC](https://forum.kirupa.com/t/force-loading-xml/270235 "2008-09-07T10:34:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![corneliu9d](https://avatars.discourse-cdn.com/v4/letter/c/5e9695/32.png) [@corneliu9d](https://forum.kirupa.com/u/corneliu9d)\
**Post date:** [September 7, 2008, 10:34am UTC](https://forum.kirupa.com/t/force-loading-xml/270235/1 "2008-09-07T10:34:32Z")

</div>

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?
