Articles related to web development
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 )
| QUOTE |
When children have to play inside so they don’t disappear, private eyes solve marriage lies cause we dont 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 untill it’s ours, I’m calling all angels. |
5. Now rightclick Arrow Up button and in its Actions, paste the following code.
| CODE |
| on (release) { data.scroll–; } |
Now lets see this line data.scroll–.
As you know data is our varialble 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.
| CODE |
| on (release) { data.scroll++; } |
Leave a reply