Followed Kirupa’s Tutorial on loading dynamic text into a text box, and it works great when the .txt file is in the same folder. But I want to use the same text for a banner on another site. I was hoping I could jsut load it fromt he same text file so I only have to change it in one place in the future. I tried to do it with this code but am not sure that’s the right way to script it:
loadText = new LoadVars();
loadText.load(“http://www.externalsite.com/text/mytext.txt”);
loadText.onLoad = function() {
promo.text = this.promo;
expires.text = this.expires;
code.text = this.code;
};