# Scrolling text problem

**URL:** <https://forum.kirupa.com/t/scrolling-text-problem/229412>\
**Category:** Uncategorized\
**Created:** [June 16, 2007, 10:27pm UTC](https://forum.kirupa.com/t/scrolling-text-problem/229412 "2007-06-16T22:27:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![obmon](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/obmon/32/3503_2.png) [@obmon](https://forum.kirupa.com/u/obmon)\
**Post date:** [June 16, 2007, 10:27pm UTC](https://forum.kirupa.com/t/scrolling-text-problem/229412/1 "2007-06-16T22:27:19Z")

</div>

hello and thanks in advance for your help,

i have on the main timeline a movie clip called “contentWindow\_profile”. In this movie clip are two buttons, “down\_btn”, and “up\_btn”, and also a text box called profileText.

Try as I might, I can’t seem to get scrolling to work on the text box. all i want is for the user to be able to hold down the mouse button on either button and for the text box to scroll to its limits. i know this is easy, but if anyone can help, i would be much obliged.

code i have a the moment:

```php

this.contentWindow_profile.down_btn.onPress = function() {
   contentWindow_profile.profileText.scroll -= 1;
};

this.contentWindow_profile.up_btn.onPress = function() {
  contentWindow_profile.profileText.scroll += 1;
};

```
