# Help! Problem with a ticker

**URL:** https://forum.kirupa.com/t/help-problem-with-a-ticker/183187
**Category:** random
**Created:** [March 24, 2006, 2:22pm UTC](https://forum.kirupa.com/t/help-problem-with-a-ticker/183187 "2006-03-24T14:22:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ataylor](https://avatars.discourse-cdn.com/v4/letter/a/e495f1/32.png) [@ataylor](https://forum.kirupa.com/u/ataylor)
#### Post date: [March 24, 2006, 2:22pm UTC](https://forum.kirupa.com/t/help-problem-with-a-ticker/183187/1 "2006-03-24T14:22:12Z")

</div>

I’m working on a ticker that uses dynamic text from an external .txt document. It’s side scrolling bar works, the .txt document is being loaded…but it’s very jumpy.

I’m looking for something to add to the AS which will figure the length of the dynamic text movie based on how much text is in the .txt file, and scroll it smoothly until it reaches the bottom, where it will then loop back to the top.

Code on the main timeline:

> \_root.scroll\_count = 0;  
> loadText = new LoadVars();  
> loadText.load(“ncaa\_tracker\_text.txt”);  
> //creating the LoadVarsText function  
> loadText.onLoad = function() {  
> mytext = this.ncaa\_tracker\_text;  
> mytext.html=true;  
> scroller.htmlText = mytext;  
> };

and then inside on the text movie layer:

> 

\_root.scroller.maxscroll;

if (\_root.scroll\_count \<= \_root.scroller.maxscroll){  
\_root.scroller.scroll+=1;  
\_root.scroll\_count = \_root.scroll\_count + 1;  
}else if (\_root.scroll\_count \>= \_root.scroller.maxscroll){  
\_root.scroller.scroll -= (\_root.scroller.maxscroll - 1);  
\_root.scroll\_count = 0;  
}

---

<div class="post-metadata">

### Author: ![simplistik](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/simplistik/32/7747_2.png) [@simplistik](https://forum.kirupa.com/u/simplistik)
#### Post date: [March 24, 2006, 2:27pm UTC](https://forum.kirupa.com/t/help-problem-with-a-ticker/183187/2 "2006-03-24T14:27:53Z")

</div>

you won’t get answered in here as quick as you would if you posted it in the proper place. first forum doesn’t mean right forum. 😉

mod should move this into the proper flash forum, are you using flash MX, MX2004, or 8?
