# Replacing Remote XML with Local

**URL:** <https://forum.kirupa.com/t/replacing-remote-xml-with-local/294478>\
**Category:** flash\
**Created:** [August 14, 2009, 3:37pm UTC](https://forum.kirupa.com/t/replacing-remote-xml-with-local/294478 "2009-08-14T15:37:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcwazza](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@mcwazza](https://forum.kirupa.com/u/mcwazza)\
**Post date:** [August 14, 2009, 3:37pm UTC](https://forum.kirupa.com/t/replacing-remote-xml-with-local/294478/1 "2009-08-14T15:37:56Z")

</div>

In my html, I have

```auto
var frank = "http://www.deloitte.com/deloitte-ecm-cm-dpm-web/getflash?queryParams=view=dhome/cid=4030faec731c1210VgnVCM100000ba42f00aRCRD";
        flashvars.john = frank;

```

and relating to this in my swf i have

```auto
}
var theXML = new XML();
theXML.ignoreWhite = true;
theXML.load(john);
theXML.onLoad = function (success)
{

```

when i remove the code from my html, and replace ‘john’ with “myXML.xml”, which directs to a local file, all my dynamic text boxes become undefined, even though it is linking to an identical xml, its just local and not on the internet. anyone know why this could be?
