MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 735

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

TextArea.html
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
textAreaInstance.html
Description
Property; a Boolean value that indicates whether the text field is formatted with HTML (
not (
). If the
false
the text field is a non-HTML text field. The default value is
Example
The following example makes the
text with HTML tags:
myTextArea.html = true;
myTextArea.text = "The <b>Royal</b> Nonesuch"; // displays "The Royal
Nonesuch"
TextArea.length
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
textAreaInstance.length
Description
Property (read-only); indicates the number of characters in a text field. This property returns the
same value as the ActionScript
(
) counts as one character. The default value is 0.
"\t"
Example
The following example gets the length of the text field and copies it to the
var length = myTextArea.length; // find out how long the text string is
property is
html
true
myTextArea
text.length
, the text field is an HTML text field. If
false
field an HTML text field and then formats the
property, but is faster. A character such as tab
true
is
html
.
variable:
length
TextArea component
) or
,
false
735

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents