Flash ActionScript
myData = new LoadVars();
myData.onLoad = function() {
myText_txt.text = this.myVariable;
};
myData.load("http://www.myserver.com/test/myText.txt");
Are you by chance getting a failed (http404) call to a crossdomain.xml file on the server? Check out: http://kb2.adobe.com/cps/142/tn_14213.html