![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 6.
my_txt
.htmlText
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
.
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>";
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |