# AS-Scrollable Exteranl Text Prob. chris99022

**URL:** <https://forum.kirupa.com/t/as-scrollable-exteranl-text-prob-chris99022/196653>\
**Category:** flash\
**Created:** [August 10, 2006, 1:44am UTC](https://forum.kirupa.com/t/as-scrollable-exteranl-text-prob-chris99022/196653 "2006-08-10T01:44:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gloraver](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@gloraver](https://forum.kirupa.com/u/gloraver)\
**Post date:** [August 10, 2006, 1:44am UTC](https://forum.kirupa.com/t/as-scrollable-exteranl-text-prob-chris99022/196653/1 "2006-08-10T01:44:15Z")

</div>

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?"](http://www.unsigned-documentary.com/story.txt?%22) + 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?"](http://www.unsigned-documentary.com/char.txt?%22) + 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?"](http://www.unsigned-documentary.com/dir.txt?%22) + 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:
