Scroll lenght

I created a text field but the field stop scrolling after a certain amount of lines. How do i get it to scroll through my text field?

here is the code on the up button:

on (press) {
if (mytext.scroll>1) {
mytext.scroll–;
}
}

here is the code on the down button:

on (press) {
if (mytext.scroll<mytext.maxscroll) {
mytext.scroll++;
}
}

any codes or variables I need to have the text scroll to its lenght?

thanks

http://www.macromedia.com/support/flash/ts/documents/dynamic_text_scrollmx.htm

You might just want to simplify the actionscript, that might works. Here are the two buttons:

on (release) {
myText.scroll = myText.scroll + 1;
}

on (release) {
myText.scroll = myText.scroll - 1;
}

Hope this helps. Good Luck

Peace
nemo | Bejingler

:slight_smile:

I havent seen that work with large amounts of text. Do you have a working example?