ijehan
March 28th, 2002, 12:19 PM
What I'm trying to accomplish is a scrollable text box. I've studied the tutorial here and the only problem I have is that the user must keep clicking to bring the text down. I'd like it so the user can just click on the scroll button and the text keeps moving, instead of stopping after one line then forcing the user to go click, click, click until they reach the bottom of the page. Here's the action script for the scroll button. Any ideas?
on (press, release, rollOver, keyPress "<Down>") {
        currentScroll = scrollableText.scroll;
        if (Number(currentScroll)<Number(scrollableText.maxscroll)) {
                scrollableText.scroll = Number(currentScroll)+1;
        }
}
on (press, release, rollOver, keyPress "<Down>") {
        currentScroll = scrollableText.scroll;
        if (Number(currentScroll)<Number(scrollableText.maxscroll)) {
                scrollableText.scroll = Number(currentScroll)+1;
        }
}