# Problem with scrollbar in dynamic text

**URL:** <https://forum.kirupa.com/t/problem-with-scrollbar-in-dynamic-text/189683>\
**Category:** flash\
**Created:** [June 5, 2006, 9:54am UTC](https://forum.kirupa.com/t/problem-with-scrollbar-in-dynamic-text/189683 "2006-06-05T09:54:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anthalus](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@Anthalus](https://forum.kirupa.com/u/Anthalus)\
**Post date:** [June 5, 2006, 9:54am UTC](https://forum.kirupa.com/t/problem-with-scrollbar-in-dynamic-text/189683/1 "2006-06-05T09:54:18Z")

</div>

hi!

so i have a dynamic text that only let me scroll it for 1 or for -1.

1 dynamic text instanced loadedInfo  
1 button to go up instanced ScrollUp  
1 button to go down ScrollDown

1 st frame code

```auto

root.scrollDown.onPress = function() {
    loadedInfo.scroll += 1;
}
_root.scrollUp.onPress = function() {
    loadedInfo.scroll -= 1;
}

```

i even have used components croll bar and same thing happens, it detect there is a lot of text but only let me scroll +1 or -1

[http://pwp.netcabo.pt/mauroalexandre/swf.zip](http://pwp.netcabo.pt/mauroalexandre/swf.zip)
