PDA

View Full Version : Scrolling Text


poppaflash
02-14-2001, 04:17 AM
Greetings all,

I've tried a number of tutorials on this site and others trying to learn how to scroll a text block. And yet I've had no luck. My suspicion is that some of the action scripting in Flash 5 is different than it was in the Flash 4 tutorials and that's why my efforts have been miserable failures. Can anyone point me to a Flash 5 scrolling tutorial, or in an act of incredible benevolence, assist me with some guidance.

Thanks.

Jesse
02-14-2001, 05:11 AM
My tutorial (as with all my tutorials) is made for Flash 5 and works fine with Flash 5:

http://www.actionscripts.org/tutorials/intermediate/scroll_object/index.shtml

Cheers

Jesse

Bcondran
02-14-2001, 07:17 PM
First make an Movie Clip Symbol, call it "reverseAction"

In this movie clip make three key frames.

on the first frame - put a stop(); action

on the 2nd frame put

with(_root.text){
prevFrame();
}

on the third frame put

prevFrame(); or gotoAndPlay(2);


now make a new MovieClipSymbol

call it "text"

in this movie clip put make 2 layers

call the bottom one "text" call the top one "mask"

on frame one bring your text just below the mask so it is not visible. go to frame thirty and bring it just above the mask so it is not visible.

motion tween the sucka and put a stop action on the 1st and 3oth frame.


drag both movie clips on the main timeline.

name the action movie clip "reverseAction"

name the other one "text:

I'll assume that you know what to do...

make a button

copy it once

on one button

add these action

on(rollOver){
with(_root.text){
gotoAndPlay(2);
}
}

on(rollOut){
with(_root.text){
gotoAndStop(_currentframe);
}
}

on the next button add these action scripts

on(rollOver){
with(_root.reverseAction){
gotoAndPlay(2);
}
}

on(rollOut){
with(_root.reverseAction){
gotoAndStop(_currentframe);
}
}

this is a very simple tutorial that should get you on your way. if you have any problems just email me:)