# Scrollbar arrows

**URL:** https://forum.kirupa.com/t/scrollbar-arrows/163971
**Category:** Uncategorized
**Created:** [September 27, 2005, 6:41pm UTC](https://forum.kirupa.com/t/scrollbar-arrows/163971 "2005-09-27T18:41:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bentaltoid82](https://avatars.discourse-cdn.com/v4/letter/b/bc79bd/32.png) [@bentaltoid82](https://forum.kirupa.com/u/bentaltoid82)
#### Post date: [September 27, 2005, 6:41pm UTC](https://forum.kirupa.com/t/scrollbar-arrows/163971/1 "2005-09-27T18:41:49Z")

</div>

so im modifying kirupa’s tutorial, loading external text files

and i took away the scrollbar component, in favor of graphical arrow buttons

im using this code from another tutorial on sending a form with php to make the text scroll

on(press){  
\_root.newsBox.scroll++;  
}

and the other button has scroll–;

the problem im having, is that you have to push the arrow button a million times to get to the bottom of the document,

how can i make it so when you press down the button, it continues to scroll until you release?

some sort of if…else loop?
