Hello Im having a really wacky problem. I need three text boxes all carrying different external text. I had them set up and they worked. Now all of a sudden they wont work server side. Ive tried everything I can think of and cant solve it. It works fine when testing and loading the external text from the server. The only thing i can think of is the text fields are all named “scroller”. Yet when I change them it no longer works. Very confusing. Any help would be much appreciated!!! :red:
Heres the codes:
TEXT BOX 1:
[
loadText = new LoadVars ();
pisello = Math.random();
loadText.load ("http://www.unsigned-documentary.com/story.txt?" + pisello, 0);
//creating the loadVarsText function
loadText.onLoad = function() {
scroller.text = this.storytext;
};
]
TEXT BOX 2:
[
loadText = new LoadVars ();
pisello = Math.random();
loadText.load ("http://www.unsigned-documentary.com/char.txt?" + pisello, 0);
//creating the loadVarsText function
loadText.onLoad = function() {
scroller.text = this.chartext;
};
]
TEXT BOX 3:
[
loadText = new LoadVars ();
pisello = Math.random();
loadText.load ("http://www.unsigned-documentary.com/dir.txt?" + pisello, 0);
//creating the loadVarsText function
loadText.onLoad = function() {
scroller.text = this.dirtext;
};
]
I dont know why but they keep saying undefined. Normally this would mean that something was incorrectly spelled and the code was wrong. However its working fine locally drawing from external .txt files Please!!! HELPP!!! Im tearing my hair out lol :sigh: