# AS to make Scrollbar component and text to reset position

**URL:** <https://forum.kirupa.com/t/as-to-make-scrollbar-component-and-text-to-reset-position/226141>\
**Category:** flash\
**Created:** [May 18, 2007, 12:49pm UTC](https://forum.kirupa.com/t/as-to-make-scrollbar-component-and-text-to-reset-position/226141 "2007-05-18T12:49:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![felipegm](https://avatars.discourse-cdn.com/v4/letter/f/e9bcb4/32.png) [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Post date:** [May 18, 2007, 12:49pm UTC](https://forum.kirupa.com/t/as-to-make-scrollbar-component-and-text-to-reset-position/226141/1 "2007-05-18T12:49:25Z")

</div>

I built a dinamic text filed with a ScrollBar component.

After scrolling the text to the end, I´d like to make a button, outside the textfield, to reset the position of the text and the ScrollBar to the beginning. Like a “top” button.

Could anyone help?

Thanks
