Ewan or anyone else we talked about this in a thread a whilke back. I have sime scrolling textcontrlloed by a clip as followed:
onClipEvent (load) {
var speed = 1;
}
onClipEvent (enterFrame) {
if (scrollD == "up"
{
_parent.txt.scroll -= speed;
} else if (scrollD == "down"
{
_parent.txt.scroll += speed;
}
}
Button that scolls the text:
on(press) {
control.scrollD = "up";
}
on(release) {
control.scrollD = false;
}
(Compliments of bigbaddave)
Now what I wanted to do is slow down the scroll. Ewan you suggested that I change the 1 to .5 or something but if I do that then the scroll doesn't work.
Any suggestion on how to smooth this scroll up and slow it down as well. Or do you have another scroll script lying around I could drop in?
---------------------------------------------
onClipEvent (load) {
var speed = 1;
}
onClipEvent (enterFrame) {
if (scrollD == "up"
_parent.txt.scroll -= speed;
} else if (scrollD == "down"
_parent.txt.scroll += speed;
}
}
Button that scolls the text:
on(press) {
control.scrollD = "up";
}
on(release) {
control.scrollD = false;
}
(Compliments of bigbaddave)
Now what I wanted to do is slow down the scroll. Ewan you suggested that I change the 1 to .5 or something but if I do that then the scroll doesn't work.
Any suggestion on how to smooth this scroll up and slow it down as well. Or do you have another scroll script lying around I could drop in?
---------------------------------------------