UI ScrollBar Component

I have a dynamic text box on the stage with some text in it. The dynamic text box has an instance name of myText. I also have the UIScrollBar component on the stage. How do I get the scrollbar component to link up to the dynamic text box so the text scrolls? This was simple in Flash MX but I need it for Flash CS4 Professional with AS3. This shouldn’t be so hard. Can someone tell me the AS3 code to do this or is there a way to do this what out the use of action script like it was in Flash MX?