# Scroll buttons (Kax?)

**URL:** https://forum.kirupa.com/t/scroll-buttons-kax/20481
**Category:** flash
**Created:** [May 9, 2003, 1:11am UTC](https://forum.kirupa.com/t/scroll-buttons-kax/20481 "2003-05-09T01:11:44Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Freddythunder](https://avatars.discourse-cdn.com/v4/letter/f/8edcca/32.png) [@Freddythunder](https://forum.kirupa.com/u/Freddythunder)
#### Post date: [May 9, 2003, 1:11am UTC](https://forum.kirupa.com/t/scroll-buttons-kax/20481/1 "2003-05-09T01:11:44Z")

</div>

Hey guys-  
I’m making a website and want to use buttons to move the text instead of using a IUC scroll bar (which is what I’m about to do). I searched the forums and found this:

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=22296&highlight=scroll+buttons+text](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=22296&highlight=scroll+buttons+text)

This is what I want to do, but when I put it in my fla - the darn thing doesn’t work:(

I’ve tried a bunch of things, am I missing something small?  
Thanks!

---

<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: [May 9, 2003, 1:14am UTC](https://forum.kirupa.com/t/scroll-buttons-kax/20481/2 "2003-05-09T01:14:54Z")

</div>

Oh, yeah. You’ll probably want this too:

---

<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: [May 9, 2003, 3:41pm UTC](https://forum.kirupa.com/t/scroll-buttons-kax/20481/3 "2003-05-09T15:41:14Z")

</div>

i don’t know why it isn’t working for you, and i don’t have the time to figure it out so…

```auto
scrollText = function (a) {
	about.scroll += a;
};
upbutton.a = -1;
downbutton.a = 1;
upbutton.onRollOver = downbutton.onRollOver=function () {
	scrollInt = setInterval(scrollText, 1000/24, this.a);
};
upbutton.onRollOut = downbutton.onRollOut=function () {
	clearInterval(scrollInt);
};

```

you use that one… 😛 =)

---

<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: [May 9, 2003, 8:41pm UTC](https://forum.kirupa.com/t/scroll-buttons-kax/20481/4 "2003-05-09T20:41:56Z")

</div>

Fantastic!! Hooray for Kax!!  
Thank you - I had just put this on the buttons:  
[AS]  
on(press){  
about.scroll++;  
}  
[/AS]  
I didn’t want to use that - I wanted the hover thing.  
Cool!!  
:beam:

By the way - incase anyone else looked at my fla (the other 5), the code kax just gave me needs to be adjusted to work in all three different text boxes. I just added a’s, b’s, and c’s after all the repeating variables.

Thanks again Kax - you rule!!

---

<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: [May 9, 2003, 9:01pm UTC](https://forum.kirupa.com/t/scroll-buttons-kax/20481/5 "2003-05-09T21:01:21Z")

</div>

😉

you’re welcome. :beam:
