# Yet another scroller problem

**URL:** <https://forum.kirupa.com/t/yet-another-scroller-problem/4968>\
**Category:** Uncategorized\
**Created:** [August 27, 2002, 11:08am UTC](https://forum.kirupa.com/t/yet-another-scroller-problem/4968 "2002-08-27T11:08:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![firemind](https://avatars.discourse-cdn.com/v4/letter/f/9dc877/32.png) [@firemind](https://forum.kirupa.com/u/firemind)\
**Post date:** [August 27, 2002, 11:08am UTC](https://forum.kirupa.com/t/yet-another-scroller-problem/4968/1 "2002-08-27T11:08:10Z")

</div>

Hi ppl, please help me,

So, now in my current flash project i have Dynamic TextField with ScrollBar component attached. Also I have some buttons. Theese buttons do load HTML files to the TextxField on release.

The problem is explained below:

1. I click the first button and it loads content from first file to my TexdField.
2. Then I scroll my TextField a bit.
3. I click another button which loads content from the second file to my TextField
4. And what!? - The text field is filled with the new content but it is scrolled…

So I want my TextField ScrollBar to reset every time I click any button and load a new content to th TextField.

sorry for my English… Tell me if I explained my problem not clearly, i’ll try to explain it with some other words.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 27, 2002, 1:00pm UTC](https://forum.kirupa.com/t/yet-another-scroller-problem/4968/2 "2002-08-27T13:00:11Z")

</div>

I found the answer by myself - all i have to do is to use this method of FScrollBar on button ‘on release’ event:

myscrollbar.setScrollPosition(0);

it’s so simple - sorry for this stupid question.  
I’m going to RTFM, bye
