Flash Script - Scroll Bar in Flash 5


Download the sample files here.

1. Create a text field as shown above, with its multiline property checked. Call it "field".

2. Create a button as shown above.

3. Drag one more button instance from the library, and arrange both as above.

4. In the top button, set the action as:

on (press)  

{field.scroll = field.scroll-1;} 

5. In the bottom button, insert the action:

on (press)  

{field.scroll = field.scroll+1;} 

6. Run the movie and enter some text in the text field. The text should fill the text field.

7. Click on the buttons, and watch the text scroll as you press the button down.

Replay

Category: software Time: 2003-04-28 Views: 2
Tags:

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.146 (s). 12 q(s)