The Scroller

Here is a scrolling text box of medium complexity in Flash.

Observe its behaviour, it should be more or less like a Mac or Windows scroll bar (except the press areas are in different spots and there is no track). Also note that Flash doesn't see what happens outside its rectangle, so you can fool the file by dragging from a button to outside the clip (suggestions, anyone?)

It works by having the buttons set and purge a direction variable, and a clip watching that variable and moving the text field.

There are further comments inside. You might try making a movie with two independent scrolling text fields if you want to prove to yourself that you understand the workings of the file.

— Download zipped Flash 5 file (5k)

— Back to COMS 490 resources

— Back to home