# Custom Scroll Buttons with Dynamic Text Load

**URL:** <https://forum.kirupa.com/t/custom-scroll-buttons-with-dynamic-text-load/29254>\
**Category:** flash\
**Created:** [August 25, 2003, 12:00am UTC](https://forum.kirupa.com/t/custom-scroll-buttons-with-dynamic-text-load/29254 "2003-08-25T00:00:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 25, 2003, 12:00am UTC](https://forum.kirupa.com/t/custom-scroll-buttons-with-dynamic-text-load/29254/1 "2003-08-25T00:00:02Z")

</div>

I have a dynamic text box called “news”. I also have 2 custom scroll buttons on a different layer labeled “upbutton” and “downbutton”.

I applied this action to my “news” text box:

scrollText = function (news) {  
about.scroll += news;  
};  
upbutton.news = -1;  
downbutton.news = 1;  
upbutton.onRollOver = downbutton.onRollOver =function () {  
scrollInt = setInterval (scrollText, 1000/24, this.news);  
};  
upbutton.onRollOut = downbutton.onRollOut =function () {  
clearInterval (scrollInt);  
};

What am I doing wrong? It wont scroll. The text I use is called from an external text file called news.txt

Any ideas? I attached my .FLA file and news.txt

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 25, 2003, 12:03am UTC](https://forum.kirupa.com/t/custom-scroll-buttons-with-dynamic-text-load/29254/2 "2003-08-25T00:03:50Z")

</div>

Here is my news.txt file

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 25, 2003, 12:10am UTC](https://forum.kirupa.com/t/custom-scroll-buttons-with-dynamic-text-load/29254/3 "2003-08-25T00:10:04Z")

</div>

oops. here is the fla file.

It is at:

[http://www.oregonstate.edu/~kendalro/Main.fla.sit](http://www.oregonstate.edu/~kendalro/Main.fla.sit)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 25, 2003, 6:34am UTC](https://forum.kirupa.com/t/custom-scroll-buttons-with-dynamic-text-load/29254/4 "2003-08-25T06:34:57Z")

</div>

anyone? Im dying here. 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 25, 2003, 5:59pm UTC](https://forum.kirupa.com/t/custom-scroll-buttons-with-dynamic-text-load/29254/5 "2003-08-25T17:59:57Z")

</div>

no ideas?
