EasyManua.ls Logo

MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH - Page 423

MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH
830 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Formatting text with Cascading Style Sheet styles 423
Supported CSS properties
Flash Player supports a subset of properties in the original CSS1 specification (www.w3.org/
TR/REC-CSS1). The following table shows the supported CSS properties and values as well
as their corresponding ActionScript property names. (Each ActionScript property name is
derived from the corresponding CSS property name; the hyphen is omitted and the
subsequent character is capitalized.)
CSS property ActionScript
property
Usage and supported values
text-align textAlign Recognized values are left, center, right, and
justify.
font-size fontSize Only the numeric part of the value is used. Units
(px, pt) are not parsed; pixels and points are
equivalent.
text-decoration textDecoration Recognized values are
none and underline.
margin-left marginLeft Only the numeric part of the value is used. Units
(px, pt) are not parsed; pixels and points are
equivalent.
margin-right marginRight Only the numeric part of the value is used. Units
(px, pt) are not parsed; pixels and points are
equivalent.
font-weight fontWeight Recognized values are
normal and bold.
kerning kerning Recognized values are
true and false.
font-style fontStyle Recognized values are
normal and italic.
letterSpacing letterSpacing Only the numeric part of the value is used. Units
(px, pt) are not parsed; pixels and points are
equivalent.
text-indent textIndent Only the numeric part of the value is used. Units
(px, pt) are not parsed; pixels and points are
equivalent.

Table of Contents

Related product manuals