MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH Manual page 430

Learning actionscript 2.0 in flash
Table of Contents

Advertisement

Styling built-in HTML tags
Flash Player supports a subset of HTML tags. (For more information, see
formatted text" on page
HTML tag that appears in a text field. For example, the following code defines a style for the
built-in
HTML tag. All instances of that tag are styled in the manner specified by the
<p>
style rule.
p {
font-family: Arial,Helvetica,sans-serif;
font-size: 12px;
display: inline;
}
The following table shows which built-in HTML tags can be styled and how each style
is applied:
Style name How the style is applied
Affects all
p
Affects all
body
body
Affects all
li
Affects all
a
Affects all
a:link
Applied to an
a:hover
style is applied after any
After the mouse pointer moves off the link, the
the link.
Applied to an
a:active
after any
After the mouse button is released, the
link.
430
Working with Text and Strings
436.) You can assign a CSS style to every instance of a built-in
tags.
<p>
tags. The
<body>
style.
bullet tags.
<li>
anchor tags.
<a>
anchor tags. This style is applied after any a style.
<a>
anchor tag when the mouse pointer is over the link. This
<a>
a
anchor tag when the user clicks the link. This style is applied
<a>
and
style.
a
a:link
style, if specified, takes precedence over the
p
and
style.
a:link
a:hover
a:active
"Using HTML-
style is removed from
style is removed from the

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents