# Scroller with Dynamic Text

**URL:** <https://forum.kirupa.com/t/scroller-with-dynamic-text/273444>\
**Category:** flash\
**Created:** [October 15, 2008, 3:50pm UTC](https://forum.kirupa.com/t/scroller-with-dynamic-text/273444 "2008-10-15T15:50:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gsheppar](https://avatars.discourse-cdn.com/v4/letter/g/2bfe46/32.png) [@gsheppar](https://forum.kirupa.com/u/gsheppar)\
**Post date:** [October 15, 2008, 3:50pm UTC](https://forum.kirupa.com/t/scroller-with-dynamic-text/273444/1 "2008-10-15T15:50:50Z")

</div>

I have been following this tutorial [http://www.kirupa.com/developer/mx/textscroller.htm](http://www.kirupa.com/developer/mx/textscroller.htm) to create a scroller. I can get this to work when I just follow the tutorial and copy and paste the text directly into the text box, but I have been trying to load text from a .txt file and haven’t been able to get the scroller to work. Originally before i included a scroller I was using this code to load my text into the dynamic text box: loadVariables(“assets/Welcome\_Home.txt”, this); and had labeled the text box with a variable name of content. I’m not really sure how to get the text to load and the scroller to work. I can get the text to load from the txt file, but the scroller won’t work. I’ve labled the instance of the dynamic text box as scroller. So basically I want to know what I need to do to get the scroller to work with loading dynamic text from the .txt file.
