EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 691

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 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...
TextField.length 691
TextField.htmlText
Availability
Flash Player 6.
Usage
my_txt.htmlText
Description
Property; if the text field is an HTML text field, this property contains the HTML representation
of the text field’s contents. If the text field is not an HTML text field, it behaves identically to the
text property. You can indicate that a text field is an HTML text field in the Property inspector,
or by setting the text field’s
html property to true.
Example
In the following example, the text in the text field text2 is rendered bold.
text2.html = true;
text2.htmlText = "<b> this is bold text </b>";
See also
TextField.html
TextField.length
Availability
Flash Player 6.
Usage
my_txt.length
Returns
A number.
Description
Property (read-only); indicates the number of characters in a text field. This property returns the
same value as
text.length, but is faster. A character such as tab (“\t”) counts as one character.

Table of Contents

Related product manuals