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

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

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

:slight_smile:

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

THX

vv

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 :slight_smile:

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

Hmm, this should generally work:

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

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

vv