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
property. You can indicate that a text field is an HTML text field in the Property inspector,
text
or by setting the text field's
Example
In the following example, the text in the text field
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
property to
html
true
, but is faster. A character such as tab ("\t") counts as one character.
.
is rendered bold.
text2
TextField.length
691
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?