# UIScrollBar setScrollTarget not working

**URL:** <https://forum.kirupa.com/t/uiscrollbar-setscrolltarget-not-working/293860>\
**Category:** flash\
**Created:** [August 5, 2009, 2:14am UTC](https://forum.kirupa.com/t/uiscrollbar-setscrolltarget-not-working/293860 "2009-08-05T02:14:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DashMasterful](https://avatars.discourse-cdn.com/v4/letter/d/59ef9b/32.png) [@DashMasterful](https://forum.kirupa.com/u/DashMasterful)\
**Post date:** [August 5, 2009, 2:14am UTC](https://forum.kirupa.com/t/uiscrollbar-setscrolltarget-not-working/293860/1 "2009-08-05T02:14:12Z")

</div>

I have a movieclip that contains a TextField and a UIScrollBar. When I try to link the textfield to the scrollbar with myScrollbar.setScrollTarget(myTextField), it doesn’t work, any ideas, I’m using as2 in cs3 with flash player 9
