[MX] loadVarsText Data Question

Hello,

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

Heres the code I’m using:


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:


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?