Text.length; Text.linetype; Text.maxcharacters - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

text.length

Availability
Flash MX 2004.
Usage
text.length
Description
Read-only property; an integer that represents the number of characters in the text object.
Example
The following example returns the number of characters in the selected text:
var textLength = fl.getDocumentDOM().selection[0].length;

text.lineType

Availability
Flash MX 2004.
Usage
text.lineType
Description
Property; a string that sets the line type. Acceptable values are
"multiline no wrap"
This property works only with dynamic or input text and generates a warning if used with static
text. The
"password"
Example
The following example sets the
fl.getDocumentDOM().selection[0].lineType = "multiline no wrap";

text.maxCharacters

Availability
Flash MX 2004.
Usage
text.maxCharacters
Description
Property; an integer that specifies the maximum number of characters the user can enter in this
text object.
This property works only with input text; if used with other text types, the property generates a
warning.
, and
.
"password"
value works only for input text.
property to the value
lineType
,
"single line"
"multiline"
"multiline no wrap"
Text object
,
:
313

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents