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
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!
Oh, yeah. You’ll probably want this too:
i don’t know why it isn’t working for you, and i don’t have the time to figure it out so…
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…
=)
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!!