# Scrolling text field

**URL:** <https://forum.kirupa.com/t/scrolling-text-field/19494>\
**Category:** flash\
**Created:** [April 28, 2003, 6:55pm UTC](https://forum.kirupa.com/t/scrolling-text-field/19494 "2003-04-28T18:55:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![skidpanda](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@skidpanda](https://forum.kirupa.com/u/skidpanda)\
**Post date:** [April 28, 2003, 6:55pm UTC](https://forum.kirupa.com/t/scrolling-text-field/19494/1 "2003-04-28T18:55:47Z")

</div>

Hello,

I have two buttons to scroll up and down a text field. Here is the code I have on them:

Button 1

on (release) {  
textfield.scroll–;  
textfield.scroll–;  
textfield.scroll–;  
textfield.scroll–;  
}

Button 2

on (release) {  
textfield…scroll++;  
textfield.scroll++;  
textfield.scroll++;  
textfield.scroll++;  
}

My problem is it doesnt scroll the text field. Any idea why not? The text is dynamically loaded into the text field - thats why i’m not using the flash component because it doesnt seem to work with text loaded into the field.  
The text field i’m trying to scroll is on the main timeline of a movie loaded into a main movie.

Hope someone can help,

Cheers :block:

---

<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 28, 2003, 7:15pm UTC](https://forum.kirupa.com/t/scrolling-text-field/19494/2 "2003-04-28T19:15:52Z")

</div>

[http://www.kirupa.com/developer/flash5/scrolltext.htm](http://www.kirupa.com/developer/flash5/scrolltext.htm)

---

<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 28, 2003, 7:44pm UTC](https://forum.kirupa.com/t/scrolling-text-field/19494/3 "2003-04-28T19:44:41Z")

</div>

That sorted it, thanks very much 🙂
