Text format tag
The
tag lets you use a subset of paragraph formatting properties of the
<textformat>
TextFormat class within HTML text fields, including line leading, indentation, margins, and
tab stops. You can combine
The
tag has the following attributes:
<textformat>
Specifies the block indentation in points; corresponds to
blockindent
TextFormat.blockIndent
in the ActionScript 2.0 Language Reference.)
Specifies the indentation from the left margin to the first character in the
indent
paragraph; corresponds to
indent (TextFormat.indent property) in the ActionScript 2.0 Language Reference.)
Specifies the amount of leading (vertical space) between lines; corresponds to
leading
TextFormat.leading
(TextFormat.leading property) in the ActionScript 2.0 Language Reference.)
Specifies the left margin of the paragraph, in points; corresponds to
leftmargin
TextFormat.leftMargin
ActionScript 2.0 Language Reference.)
Specifies the right margin of the paragraph, in points; corresponds to
rightmargin
TextFormat.rightMargin
in the ActionScript 2.0 Language Reference.)
Specifies custom tab stops as an array of non-negative integers; corresponds to
tabstops
TextFormat.tabStops
ActionScript 2.0 Language Reference.)
The following table of data with boldfaced row headers is the result of the code example in the
procedure that follows:
Name
Rick
AJ
442
Working with Text and Strings
tags with the built-in HTML tags.
<textformat>
. (See blockIndent (TextFormat.blockIndent property)
TextFormat.indent
. Lets you use negative integers. (See leading
. (See leftMargin (TextFormat.leftMargin property) in the
. (See rightMargin (TextFormat.rightMargin property)
. (See tabStops (TextFormat.tabStops property) in the
Age
33
34
. Lets you use negative integers. (See
Occupation
Detective
Detective
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?