# Help: reset scroll text

**URL:** https://forum.kirupa.com/t/help-reset-scroll-text/79630
**Category:** Uncategorized
**Created:** [February 15, 2005, 9:25pm UTC](https://forum.kirupa.com/t/help-reset-scroll-text/79630 "2005-02-15T21:25:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Luigi\_Vercotti](https://avatars.discourse-cdn.com/v4/letter/l/b2d939/32.png) [@Luigi\_Vercotti](https://forum.kirupa.com/u/Luigi_Vercotti)
#### Post date: [February 15, 2005, 9:25pm UTC](https://forum.kirupa.com/t/help-reset-scroll-text/79630/1 "2005-02-15T21:25:17Z")

</div>

Hello

I’ve got few text.txt file which are dynamicly loaded into textfield…  
I don’t have any problem with loading those texts or scrolling them down or up, the problem is reseting them when I load another text after last has been scrolled.

Problem: for example, when I scroll one text in the middle of text field, then I load second external text in to same text field the text appear in the same position as it was scrolled last text and so on.  
Question: how do I reset those text when I load them???

script for up scroll

```auto
 
onClipEvent (enterFrame) {
if (scrolling) {
_root.mainText.scroll--;
}
}

```

script for down scroll

```auto
 onClipEvent (enterFrame) {
if (scrolling) {
_root.mainText.scroll++;
}
}

```

the instance name of textfield is “mainTextField”  
the name of “var:mainText”
