Setting Text Attributes - MACROMEDIA FLASH MX 2004-USING FLASH Use Manual

Hide thumbs Also See for FLASH MX 2004-USING FLASH:
Table of Contents

Advertisement

If you want to use ActionScript, you can use the
TextField object to control vertical scrolling and the
control horizontal scrolling in a text block. See "Creating scrolling text" in Using ActionScript in
Flash.
To make a dynamic text block scrollable, do one of the following:
Shift-double-click the handle on the dynamic text block.
Select the dynamic text block with the Selection tool and select Text > Scrollable.
Select the dynamic text block with the Selection tool. Right-click (Windows) or Control-click
(Macintosh) the dynamic text block and select Text > Scrollable.

Setting text attributes

You can set the font and paragraph attributes of text. Font attributes include font family, point
size, style, color, character spacing, autokerning, and character position. Paragraph attributes
include alignment, margins, indents, and line spacing.
You can optimize text to make text more readable at small sizes. See
on page
111.
For static text, font outlines are exported in a published SWF file. You can choose to use device
fonts, rather than exporting font outlines (horizontal text only). See
device fonts" on page
For dynamic or input text, Flash stores the names of the fonts used in creating the text. Flash
Player uses the names to locate identical or similar fonts on the user's system when the Flash
application is playing. You can also choose to embed font outlines in dynamic or input text fields.
Embedding font outlines can increase file size, but it ensures that users have the correct font
information. See
When text is selected, you use the Property inspector to change font and paragraph attributes, and
to direct Flash to use device fonts rather than embedding font outline information.
When creating new text, Flash uses the current text attributes. To change the font or paragraph
attributes of existing text, you must first select the text.
About aliasing text
The Alias Text button in the Property inspector lets you render text so that it appears more
readable at small sizes. This option is supported for static, dynamic, and input text if the end user
has Flash Player 7 or later. It is supported only for static text if the user has an earlier version of
Flash Player. See
The Alias Text option makes small text more readable by aligning text outlines along pixel
boundaries. This makes the text appear aliased, even when anti-aliasing is enabled. For
information on anti-aliasing text, see
When Alias Text is enabled, all text in the current selection is affected. The feature operates with
text of all point sizes in the same way.
107.
"Setting dynamic and input text options" on page
"Choosing a font, point size, style, and color" on page
"Speeding up document display" on page
and
scroll
maxscroll
and
hscroll
maxhscroll
"About aliasing text"
"About font outlines and
115.
properties of the
properties to
112.
40.

Setting text attributes

111

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING FLASH and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents