Accessibility
 
Home > Products > Flash > Support > ActionScript Dictionary
Flash Icon Macromedia Flash Support Center - ActionScript dictionary
TextField.htmlText

Availability
Flash Player 6.

Usage

 TextField .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>";

To Table of Contents Back to Previous document Forward to next document