# Repeat text scroll by holding down button?

**URL:** <https://forum.kirupa.com/t/repeat-text-scroll-by-holding-down-button/199024>\
**Category:** flash\
**Created:** [August 30, 2006, 4:56pm UTC](https://forum.kirupa.com/t/repeat-text-scroll-by-holding-down-button/199024 "2006-08-30T16:56:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thalamus](https://avatars.discourse-cdn.com/v4/letter/t/0ea827/32.png) [@thalamus](https://forum.kirupa.com/u/thalamus)\
**Post date:** [August 30, 2006, 4:56pm UTC](https://forum.kirupa.com/t/repeat-text-scroll-by-holding-down-button/199024/1 "2006-08-30T16:56:53Z")

</div>

Hello: I’m using this code to scroll text when you press the arrow buttons.

on(press){  
statement\_txt.scroll++; // or scroll–;  
}

How can you code it so a scrollable text box keeps scrolling when you hold down on the button?

Thanks.
