# Cotinuous Scroll in Flash MX

**URL:** https://forum.kirupa.com/t/cotinuous-scroll-in-flash-mx/160367
**Category:** flash
**Created:** [August 25, 2005, 1:14pm UTC](https://forum.kirupa.com/t/cotinuous-scroll-in-flash-mx/160367 "2005-08-25T13:14:31Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![anif](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@anif](https://forum.kirupa.com/u/anif)
#### Post date: [August 25, 2005, 1:14pm UTC](https://forum.kirupa.com/t/cotinuous-scroll-in-flash-mx/160367/1 "2005-08-25T13:14:31Z")

</div>

Hi

I use Flash MX 2004 Pro, i have the following code on my custom buttons for scrolling text  
on (release) {  
scrolltext.scroll -= 1;  
}

I was wondering how do i make it so that when the user is still hovered over the button, the content keeps scrolling until they roll out. I tried changing the “release” to “rollOver”, but it still works as like the release which is you gotta keep clicking for continuous scroll. I presume i probably have to use some sort of while or something, but i’m not sure how to go about it…?

thanks!
