Scroller question

i have a scrollable dynamic text, and i made 2 buttons to scroll it. it has a script like so:

upButton.onPress = function () {
myTextField.scroll = myTextField.scroll - 1;
}

downButton.onPress = function () {
myTextField.scroll = myTextField.scroll + 1;
}

but, to scroll the whole text field, i have to press the button lots of times. what i want to do is that it would scroll the text field while i am pressing the button and holding it down, like normal scrollbars do.

how can i do that?

anyone?

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=22935

you only need to change the event handlers, instead of onRollOver/onRollOut use onPress/onRelease or whatever… :wink:

tnx kax! i owe u another one!

two in a row? :stuck_out_tongue:

and again… you’re welcome. =)