Hello,
I'm a complete newbie trying to build a simple website using Flash CS3 and Actionscript 3.0.
I have a text box and have created up and down buttons for scrolling.
I am using this action to make the buttons work:
Actionscript Code:
up_btn.addEventListener(MouseEvent.MOUSE_OVER, scrollUp);
down_btn.addEventListener(MouseEvent.MOUSE_OVER, scrollDown);
function scrollUp(Event:MouseEvent):void {
bio_text.scrollV --;
}
function scrollDown(Event:MouseEvent):void {
bio_text.scrollV ++;
}
So right now the text is only scrolling one line at at time when the mouse is over the button. How do I get it to scroll continuously as long as the mouse is over the button?
Thank you for your help!