November, 2006
In this tutorial we will teach you how to create a simple scrollbar using action script in Flash.
Create a new Flash Document, select the Text Tool, open the Properties Panel and select: Dynamic Text

Using the drag and drop technique, create a "rectangle" in which you will add some text.

After that, select the drawn "rectangle".
Open the Properties Panel and set the following options:

Right click on the created "rectangle" and choose Text/Scrollable

Now type any text in that "rectangle"

Now, create two buttons in Flash, (you can find how to create buttons in one of the Flash Tutorials I made) which we will use for text scrolling.
Create one button called: UP and another one called: Down
Now select the "UP" button, open the Action Script Panel and paste following script:
on (release) {
scrollbar.scroll -= 1;
}
Then select the "DOWN" button, open again the Action Script Panel and paste this script:
on (release) {
scrollbar.scroll += 1;
}
ITS EASY!!
HAVE FUN =)
Copyright (c) 2006, Beatriz Mariniello, All Rights Reserved