|
-
scrolling text
i am having trouble that i hope somebody may be able to help me with. i have a text field that i can have scroll 1 line at a time, each time i click the scroll button. what i would like to do is have the text be able to continue scrolling while the button is being depressed. any help would be greatly appreciated. below is the code i already have implemented. thanks.
//-------------scroll buttons--------------\\
upButtonContact.addEventListener(MouseEvent.CLICK, scrollUp);
downButtonContact.addEventListener(MouseEvent.CLIC K, scrollDown);
function scrollUp(event:MouseEvent):void
{
textBox.scrollV --;
}
function scrollDown(event:MouseEvent):void
{
textBox.scrollV ++;
}
//-------------/scroll buttons--------------\\
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|