Our Flash tutorials provide you with step-by-step instructions on how to create beautiful Flash animations and integrate them into your website.  Home Flash & Swish Flash Tutorials Scroll External Text with Buttons (Basic)
Your Ad Here

Scroll External Text with Buttons (Basic)


It is not much complicated, just perform the following steps and your scroll bar is ready.

Follow The steps..

1. In above tutorial the Dynamic text box in Single Line, so first change it to Multi Line

2. In text file put as many lines as you want. remember if the lines will not exceed the size of text box, the buttons will not work, I mean you must put about 20 lines data in text files.

3. In my text file I have this text (From Daryl Signature)

When children have to play inside so they don’t disappear, private eyes solve marriage lies cause we don't talk for years, and football teams are kissing queens and losing sight of having dreams - In a world where all we want is only what we want until it’s ours, I’m calling all angels.

4. Now make two buttons, one with arrow up and one with arrow down.

In Webdings Font 5 is arrow up and 6 is arrow down, its up to you.

5. Now right click Arrow Up button and in its Actions, paste the following code.

on (release) {

data.scroll--;

}

Description

Now lets see this line data.scroll.

As you know data is our variable which we are using to load external text.

So its easy to understand what is going on here. Secondly if your Dynamic text Box is in any other movie for example you MovieClip() name is news then you will use it like this news.data.scroll.

6. Now on Arrow Down button, in its Action, paste the following code.

on (release) {

data.scroll++;

}

That's it. I hope its very easy to understand, if you are facing any problems please feel free to ask questions.

Download example file here.



Author's URL: Ali Imran
Thank you for voting.
Rate this Materials:
Bad 
1 2 3 4 5 Excellent
print this page subscribe to newsletter subscribe to rss

Internet & computing Flash is a vector-based moving graphics format created by Macromedia for the publication of animations on the World Wide Web. More Flash & Swish: Most Popular Materials | Fresh Materials | More Flash Tutorials at FlashPerfection.com

Add comments to "Scroll External Text with Buttons (Basic)"

Only registered users can write comment

No comments yet...