# Continuous Scrolling Variables?...can someone tell me how?

**URL:** https://forum.kirupa.com/t/continuous-scrolling-variables-can-someone-tell-me-how/29359
**Category:** flash
**Created:** [August 26, 2003, 12:16am UTC](https://forum.kirupa.com/t/continuous-scrolling-variables-can-someone-tell-me-how/29359 "2003-08-26T00:16:55Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Vangogh](https://avatars.discourse-cdn.com/v4/letter/v/df705f/32.png) [@Vangogh](https://forum.kirupa.com/u/Vangogh)
#### Post date: [August 26, 2003, 12:16am UTC](https://forum.kirupa.com/t/continuous-scrolling-variables-can-someone-tell-me-how/29359/1 "2003-08-26T00:16:55Z")

</div>

I have a text box that scrolls text up or down when I press the buttons to do so. In the Up button I have:

on (release) {  
scrollabletext.scroll = scrollabletext.scroll-1;  
}

So when people click the button it scrolls. BUT I WANT IT TO BE WHEN THE MOUSE ROLLS OVER THE BUTTON, IT CONTINUOUSLY SCROLLS AUTOMATICALLY.

Is there a variable like “release” that will allow me to continuously scroll?

Thanks so much!!!  
vv

---

<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 26, 2003, 12:20am UTC](https://forum.kirupa.com/t/continuous-scrolling-variables-can-someone-tell-me-how/29359/2 "2003-08-26T00:20:39Z")

</div>

[http://www.kirupaforum.com/forums/showthread.php?threadid=24636&highlight=scrolling](http://www.kirupaforum.com/forums/showthread.php?threadid=24636&highlight=scrolling)

🙂

---

<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 26, 2003, 12:39am UTC](https://forum.kirupa.com/t/continuous-scrolling-variables-can-someone-tell-me-how/29359/3 "2003-08-26T00:39:37Z")

</div>

Hmmmmm…I appreciate the help, but I am a beginner… ☹ Is there an easier way? Or do I have to create a movie and add allllll that code in?

THX

vv

---

<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 26, 2003, 12:49am UTC](https://forum.kirupa.com/t/continuous-scrolling-variables-can-someone-tell-me-how/29359/4 "2003-08-26T00:49:50Z")

</div>

lol no there is no easier way that i know of. especially not

> Is there a variable like “release” that will allow me to continuously scroll

sorry mang 🙂

[edit] why not use scrollbar component?[/edit]

---

<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 26, 2003, 1:01am UTC](https://forum.kirupa.com/t/continuous-scrolling-variables-can-someone-tell-me-how/29359/5 "2003-08-26T01:01:19Z")

</div>

Hmm, this should generally work:

```auto
on (rollOver) {
  this.onEnterFrame = function() { scrollabletext.scroll = scrollabletext.scroll-1; }
}
on (rollOut) {
  delete this.onEnterFrame;
}

```

---

<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 26, 2003, 1:26am UTC](https://forum.kirupa.com/t/continuous-scrolling-variables-can-someone-tell-me-how/29359/6 "2003-08-26T01:26:48Z")

</div>

HOLY SH\*T!!! That worked!!! THANKS… YOU ROCK!!

vv
