1. Computing & Technology

Discuss in my forum

Flash Animation 27: Flash for Web Design: Creating Scrollable Text

By , About.com Guide

3 of 10

Text Properties
Flash Animation 27: Flash for Web Design: Creating Scrollable Text
With your text box selected, look at the Properties bar. We need to adjust some settings before we can go any further; to start, set the type to Dynamic Text; this will render the text as normal text instead of vector images, so that not only does it display with more clarity, but it's also selectable.

Below that, in the <Instance Name> field, type a name for your text box; I named mine, predictably, "scrollbox". It needs an instance name because we're going to be referencing it by name in our Actionscripts.

Last but not least, click on the dropdown that says "Single Line" and select "MultiLine". If your text is set to single lines, then it won't wrap to fit the window; it will just extend off to the side and vanish until the next line break. Telling Flash that you have multiple lines causes the text to automatically advance to the next line when it reaches the edge of the bounding box.

©2012 About.com. All rights reserved.

A part of The New York Times Company.