MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference page 1143

Actionscript 2.0 language reference
Table of Contents

Advertisement

CSS property
font-size
font-style
font-weight
kerning
letter-spacing
margin-left
margin-right
text-align
text-decoration
text-indent
Availability: ActionScript 1.0; Flash Player 7
ActionScript
property
fontSize
fontStyle
fontWeight
kerning
letterSpacing
marginLeft
marginRight
textAlign
textDecoration
textIndent
Usage and supported values
Only the numeric part of the value is used.
Units (px, pt) are not parsed; pixels and
points are equivalent.
Recognized values are normal and italic.
Recognized values are normal and bold.
Recognized values are true and false.
Kerning is supported for embedded fonts
only. Certain fonts, such as Courier New, do
not support kerning. The kerning property is
only supported in SWF files created in
Windows, not in SWF files created on the
Macintosh. However, these SWF files can
be played in non-Windows versions of
Flash Player and the kerning still applies.
The amount of space that is uniformly
distributed between characters. The value
specifies the number of pixels that are
added to the advance after each character.
A negative value condenses the space
between characters. Only the numeric part
of the value is used. Units (px, pt) are not
parsed; pixels and points are equivalent.
Only the numeric part of the value is used.
Units (px, pt) are not parsed; pixels and
points are equivalent.
Only the numeric part of the value is used.
Units (px, pt) are not parsed; pixels and
points are equivalent.
Recognized values are left, center,
right, and justify.
Recognized values are none and
underline.
Only the numeric part of the value is used.
Units (px, pt) are not parsed; pixels and
points are equivalent.
StyleSheet (TextField.StyleSheet)
1143

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents