So I am using the scrollbarcomponent to scroll a text field. I am importing different text files into the field when the user clicks on one of a number of links.
The problem is, after importing a new text file, the thumb on the scrollbar doesn't move up to the top. I finally figured out how to make the scrollbar resize when new text is imported (scrollbar.setEnabled()), but it doesn't reset the field with the text at the top. So if you scroll down, and then click on a button to change the text, you have to scroll back up to the top to read the new text.
Anyone know how to make it go back to the top when new text goes in?
I made a little version of the one of the fla's I was working on--I stripped out all the extra junk, so it should be pretty straightforward. Good luck.