The
tag supports the following attributes:
<img>
Specifies the URL to an image or SWF file, or the linkage identifier for a movie
src
clip symbol in the library. This attribute is required; all other attributes are optional.
External files (JPEG, GIF, PNG, and SWF files) do not show until they are downloaded
completely.
Specifies the name for the movie clip instance (created by Flash Player) that contains
id
the embedded image file, SWF file, or movie clip. This is useful if you want to control the
embedded content with ActionScript.
The width of the image, SWF file, or movie clip being inserted, in pixels.
width
The height of the image, SWF file, or movie clip being inserted, in pixels.
height
Specifies the horizontal alignment of the embedded image within the text field.
align
Valid values are
left
Specifies the amount of horizontal space that surrounds the image where no text
hspace
appears. The default value is 8.
Specifies the amount of vertical space that surrounds the image where no text
vspace
appears. The default value is 8.
For more information and examples of using the
SWF files, and movie clips in text fields" on page
Italic tag
The
tag displays the tagged text in italics, as shown in the following code:
<i>
That is very <i>interesting</i>.
This code example would render as follows:
That is very interesting.
An italic typeface must be available for the font used.
List item tag
The
tag places a bullet in front of the text that it encloses, as shown in the
<li>
following code:
Grocery list:
<li>Apples</li>
<li>Oranges</li>
<li>Lemons</li>
This code example would render as follows:
Grocery list:
440
Working with Text and Strings
and
. The default value is
right
.
left
tag, see
"About embedding images,
<img>
445.
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?