# External text won't scroll

**URL:** <https://forum.kirupa.com/t/external-text-wont-scroll/97265>\
**Category:** Uncategorized\
**Created:** [December 19, 2003, 5:05pm UTC](https://forum.kirupa.com/t/external-text-wont-scroll/97265 "2003-12-19T17:05:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JustinM](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@JustinM](https://forum.kirupa.com/u/JustinM)\
**Post date:** [December 19, 2003, 5:05pm UTC](https://forum.kirupa.com/t/external-text-wont-scroll/97265/1 "2003-12-19T17:05:36Z")

</div>

I’ve created a dynamic text box with buttons to scroll the text up and down. I’m not using the component that comes in flash mx. If I hard code text into the box, my scrolling functionality works. Now I’ve tried to take it a step further and load the text from an external .txt file using the following code:

loadText = new LoadVars();  
loadText.onLoad = function(success) {  
if (success) {  
textcontainer.scroller.condenseWhite = true;  
textcontainer.scroller.html = 1;  
textcontainer.scroller.htmlText = this.mytext;  
}  
};  
loadText.load(“brent.txt”);

It successfully loads the text but won’t scroll. Any ideas where I could start?
