# externalInterface and ajax, old xml loads not new

**URL:** <https://forum.kirupa.com/t/externalinterface-and-ajax-old-xml-loads-not-new/306877>\
**Category:** flash\
**Created:** [March 23, 2010, 9:04pm UTC](https://forum.kirupa.com/t/externalinterface-and-ajax-old-xml-loads-not-new/306877 "2010-03-23T21:04:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chopficaro](https://avatars.discourse-cdn.com/v4/letter/c/5f9b8f/32.png) [@chopficaro](https://forum.kirupa.com/u/chopficaro)\
**Post date:** [March 23, 2010, 9:04pm UTC](https://forum.kirupa.com/t/externalinterface-and-ajax-old-xml-loads-not-new/306877/1 "2010-03-23T21:04:28Z")

</div>

I’ve used ExternalInterface.call for an onclick flash event to load some xml with XMLHttpRequest. the xml loads. but if i change the xml file on the server, the old xml file loads for the client, not the new one. i believe the problem is that the browsers are caching the results. i heard that this could usually be fixed by returning false from ur JavaScript onclick handler. but i dont have a JavaScript onclick handler, i have a flash onclick handler.
