Well, I figured out why I couldn’t see the text. I made a txt file to use, but the color of the text was set to white! :crazy:
Now, your code, I don’t understand it at all. If you put a trace on a or b, you get [object] and a bunch of zeros respectively. As you may have read once upon a time - I am very lazy. I would take the IU scroll component, connect it to the textbox (lose the movieClip) then open your library, open up the folder that says ‘Flash IU Component’ and you have all the movieClips that make up the scroll bar. Adjust the crap out of it!! I know it’s time consuming, but it’s a lot easier and you don’t have to do any of the code, Flash does it for you.
Granted, you won’t learn how to do it, but it is a solution.
one more thing - I found this on the net:
I think it explains how a scroll pane works, but it has a bunch of code at the bottom if you are not lazy like I. :)[/edit]