# Load XML problem!

**URL:** <https://forum.kirupa.com/t/load-xml-problem/180202>\
**Category:** flash\
**Created:** [February 26, 2006, 8:46pm UTC](https://forum.kirupa.com/t/load-xml-problem/180202 "2006-02-26T20:46:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrissyb](https://avatars.discourse-cdn.com/v4/letter/c/ce73a5/32.png) [@chrissyb](https://forum.kirupa.com/u/chrissyb)\
**Post date:** [February 26, 2006, 8:46pm UTC](https://forum.kirupa.com/t/load-xml-problem/180202/1 "2006-02-26T20:46:35Z")

</div>

I’m having a horrible, horrible problem loading my XML, derived from Kirupa!

I have a movie, which sits on the main timeline called sq\_mc, within that is where the majority of the action happens.

About midway along this timeline this happens:

```auto
this.holder_mc.loadMovie("home.swf");
trace (this);

```

At the end of this timeline, the XML function is called and loads the XML nicely into home.swf into a dyn home\_txt box - bravo ! Here’s the path:

```auto
_level0_sq_mc_holder_mc.home_txt.text

```

Things start getting sticky when I try and reload home.swf with my \_btn instance

```auto
this.home_btn.onRelease = function ()
{holder_mc.loadMovie("home.swf");
}

```

The movie reloads but doesn’t display the XML. I imagined I wouldn’t need to call the XML function again, but tried from the \_btn instance like this:

```auto
this.home_btn.onRelease = function ()
{holder_mc.loadMovie("home.swf");
this.loadXML(loaded);
trace (this);
}

```

This did not work, I may not be calling the function correctly?

I have switched things around the timeline, but to no avail.

Would any of you very nice people have any idea what is going on?

I’m not normally desperate…but…

Help!
