# Scrolling problem

**URL:** https://forum.kirupa.com/t/scrolling-problem/8847
**Category:** flash
**Created:** [November 29, 2002, 4:54pm UTC](https://forum.kirupa.com/t/scrolling-problem/8847 "2002-11-29T16:54:41Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![vazash](https://avatars.discourse-cdn.com/v4/letter/v/edb3f5/32.png) [@vazash](https://forum.kirupa.com/u/vazash)
#### Post date: [November 29, 2002, 4:54pm UTC](https://forum.kirupa.com/t/scrolling-problem/8847/1 "2002-11-29T16:54:41Z")

</div>

Hi guys,

How does one create a scroll buttons where onMouse Press makes the text move up/down and on releasing the mouse button it stops… I am currently using a script that allows me to scroll up/down only one line at a time…but i would like it to scroll continuously until i release the scroll up/down buttons…

---

<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: [November 30, 2002, 5:39am UTC](https://forum.kirupa.com/t/scrolling-problem/8847/2 "2002-11-30T05:39:28Z")

</div>

please paste the code from your two buttons. Should be easy to develope something from that point.

---

<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: [November 30, 2002, 9:12am UTC](https://forum.kirupa.com/t/scrolling-problem/8847/3 "2002-11-30T09:12:01Z")

</div>

This is the code i got from the macromedia site…  
Also my text is not a mc it is called through variables

[this is for the scroll up button]  
on (release) {  
text.scroll = text.scroll-1;  
}

[this is for the scroll down button]  
on (release) {  
text.scroll = text.scroll+1;  
}

any help would be much appreciated…

Thanks
