# Smooth-scrolling dynamic text boxes

**URL:** https://forum.kirupa.com/t/smooth-scrolling-dynamic-text-boxes/163240
**Category:** flash
**Created:** [September 20, 2005, 10:13pm UTC](https://forum.kirupa.com/t/smooth-scrolling-dynamic-text-boxes/163240 "2005-09-20T22:13:06Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![J\_S](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@J\_S](https://forum.kirupa.com/u/J_S)
#### Post date: [September 20, 2005, 10:13pm UTC](https://forum.kirupa.com/t/smooth-scrolling-dynamic-text-boxes/163240/1 "2005-09-20T22:13:06Z")

</div>

I have a dynamic text box which loads the text in from an external .txt file. I created an up and a down button which on rollover, scrolls the text up and down. My problem is that the text is scrolled line by line and not smoothly (eg 2 pixels at a time or so). I know that smooth text can be done with static text boxes by masking the text box and moving it up and down behind the mask by a few pixels at a time. But how do I do this with an dynamic text box because it’s length will be changing?

My .swf is here: [http://www.joesmalley.com/news/news.swf](http://www.joesmalley.com/news/news.swf)  
The .txt: [http://www.joesmalley.com/news/news.txt](http://www.joesmalley.com/news/news.txt)  
The .fla: [http://www.joesmalley.com/news/news.fla](http://www.joesmalley.com/news/news.fla)
