PDA

View Full Version : Duel Scrolling Buttons


Hemispheres
08-08-2005, 09:55 PM
Hello all,

I am new and this is my first post.

I have a client that wants scrolling text boxes. Easy enough and already built.
They want the first set of scroll buttons to scroll slowly, and that's done. Now they have come up with this great idea for a second set of scrolling buttons that scroll the same text box at a faster speed. Is this even possible in Flash?

The first scrolling buttons control a movie clip of the text scrolling along a timeline.

Button up-

on (rollOver) {
tellTarget ("scrollingtext") {
prevFrame();
}
gotoAndStop("up2");
}

Button down-

on (rollOver) {
tellTarget ("scrollingtext") {
nextFrame();
}
gotoAndStop("down2");
}

Not sure if any of that helps, but that's the first set of buttons works now. Any ideas how to make the second buttons scroll faster along the same time line?

Thanks!
james@digital-mayhem.com

Ricod
08-08-2005, 10:00 PM
Welcome to AS[org] !

The code you posted doesn't control the scrolling. It (probably) takes the clip responsible for the scrolling to the previous and / or next frame.

Also, when you post code, you can use the as tags (as described right above the quick reply box) for automatic formatting.