Web
Article

Flash Script – Scroller Component

By Georgina Laidlaw


Flash provides an easy-to-use scroller component — here’s how to put it into action.

Download the sample files here.

1. Hit ctrl+f7 to open the components panel.

2. Drag the Scroller component onto the stage.

3. Create a multiline input text box, and give it a variable name of "content".

4. Select the Scroller component in Frame 1. The component’s parameters display in the Property inspector.

5. In the Target Textfield parameter, type "content". Leave the Horizontal parameter as "false".

1186_1

That should do it! To test the movie, enter a large amount of text and see the scroller activate.

Free Guide:

7 Habits of Successful CTOs

"What makes a great CTO?" Engineering skills? Business savvy? An innate tendency to channel a mythical creature (ahem, unicorn)? All of the above? Discover the top traits of the most successful CTOs in this free guide.

No Reader comments

Recommended
Sponsors
Because We Like You
Free Ebooks!

Grab SitePoint's top 10 web dev and design ebooks, completely free!

Get the latest in Front-end, once a week, for free.