# Input text with scrollbar

**URL:** https://forum.kirupa.com/t/input-text-with-scrollbar/18571
**Category:** Uncategorized
**Created:** [April 18, 2003, 3:58am UTC](https://forum.kirupa.com/t/input-text-with-scrollbar/18571 "2003-04-18T03:58:50Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Optical](https://avatars.discourse-cdn.com/v4/letter/o/3be4f8/32.png) [@Optical](https://forum.kirupa.com/u/Optical)
#### Post date: [April 18, 2003, 3:58am UTC](https://forum.kirupa.com/t/input-text-with-scrollbar/18571/1 "2003-04-18T03:58:50Z")

</div>

i made a mailer form in flash, it has the message space a name with clear and send button- with a scroll bar, everything is working fine until if the scroll bar begins to activate and i pressed the button clear scroll bars postion will remain in the position where it was (e.g. in the middle)instead of going back to its default position

i dunno what command i will put on my clear button to make my scroll bar go back to its default place

here’s the file

[http://www.geocities.com/william\_s\_enriquez/scrollbar.zip](http://www.geocities.com/william_s_enriquez/scrollbar.zip)

---

<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: [April 18, 2003, 4:44am UTC](https://forum.kirupa.com/t/input-text-with-scrollbar/18571/2 "2003-04-18T04:44:08Z")

</div>

anybody?

---

<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: [April 18, 2003, 6:47am UTC](https://forum.kirupa.com/t/input-text-with-scrollbar/18571/3 "2003-04-18T06:47:16Z")

</div>

hmm… what is the code you use to clear the fields?

---

<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: [April 18, 2003, 7:55am UTC](https://forum.kirupa.com/t/input-text-with-scrollbar/18571/4 "2003-04-18T07:55:57Z")

</div>

uhm, i do not have flash in front of me, but i think i use that code.

```php
       on (click) {
                variable1= "";
	variable2 = "";
	variable3 = "";
}{

```

when i reset the fields, the scrollbar scrolls up but the bar is still the same size like before reseting.

any ideas?

---

<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: [April 18, 2003, 8:04am UTC](https://forum.kirupa.com/t/input-text-with-scrollbar/18571/5 "2003-04-18T08:04:54Z")

</div>

hmm… interesting to be sure. I’ll have to play around a little before I might get the hang of why it does that. I do remember running into that problem before. Hopefuly I managed to come up with a solution. It might be another variable that needs to be set somewhere.
