Previous Element | Next Element |
Text
This defines a static text symbol that can be used within
the movie. A text symbol is composed of one or more Segment
elements each of which a single unit of text. A Transform
element can also be defined for the composite text symbol.
While EditField elements are more powerful for dynamic or
system text, Text elements give very powerful control over
kerning and text effects and is the only text symbol that
can be used as a clipping symbol.
Attributes
id | A unique name for the symbol within the movie. | |
Type | String | |
bounds | The bounding rectangle of the text symbol specified as 'bounds( minX, minY, maxX, maxY)'. If the bounding rectangle is unknown, a value of 'auto' can be specified and the text bounds will be calculated automatically. Incorrect specification of this may result in parts of the text being occluded. | |
Value Template | bounds(Coord, Coord, Coord, Coord) | |
Type | Float | |
antialias |
Flash 8 introduces a new antialias attribute that
allows the use to specify the degree of antialiasing
to be applied to a text element. Antialias values
can be specified as 'reading', which is the default
setting for maximum legibility, or as a pair of
values indicating the thickness and sharpness of the
antialiasing. When not specified, antialias
behaviour defaults to that used in Flash player 7
and below. Thickness and sharpness, when specified
should be in the following ranges:
Thickness: -200 -> +200 Sharpness: -400 -> + 400. The default 'reading' setting is equivalent to setting both thickness and sharpness to 0. | |
Values | reading custom( thickness, sharpness) | |
Default Value | Not specified |
Child Elements
DescMetadata
Segment
Transform
Parent Elements
DefinitionsExamples
Text Segments ExampleTimeline Replace Examples
Clipping and Text Clipping Example
User-Defined Font Example
Previous Element | Next Element |