# \[MX\] loadVarsText Data Question

**URL:** https://forum.kirupa.com/t/mx-loadvarstext-data-question/112502
**Category:** Uncategorized
**Created:** [June 8, 2004, 2:42pm UTC](https://forum.kirupa.com/t/mx-loadvarstext-data-question/112502 "2004-06-08T14:42:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![foochuck](https://avatars.discourse-cdn.com/v4/letter/f/dfb087/32.png) [@foochuck](https://forum.kirupa.com/u/foochuck)
#### Post date: [June 8, 2004, 2:42pm UTC](https://forum.kirupa.com/t/mx-loadvarstext-data-question/112502/1 "2004-06-08T14:42:48Z")

</div>

Hello,

I’m trying to load text from another domain into my website.

Heres the code I’m using:

```auto

loadVarsText = new loadVars();
loadVarsText.load("http://www.thatdomain.com/mydata.txt");

```

With no luck. I verified that the URL is correct.

When I point to the text file on my local drive like this:

```auto

loadVarsText = new loadVars();
loadVarsText.load("mydata.txt");

```

The variables load with no problem.

PS - I’ve tried setting up a crossdomain.xml file on the domain where I’m trying to pull the data from, but this still didn’t help.

Any suggestions?
