# UI ScrollBar Component

**URL:** https://forum.kirupa.com/t/ui-scrollbar-component/293622
**Category:** flash
**Created:** [July 31, 2009, 12:07pm UTC](https://forum.kirupa.com/t/ui-scrollbar-component/293622 "2009-07-31T12:07:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![steresa](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@steresa](https://forum.kirupa.com/u/steresa)
#### Post date: [July 31, 2009, 12:07pm UTC](https://forum.kirupa.com/t/ui-scrollbar-component/293622/1 "2009-07-31T12:07:58Z")

</div>

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?
