Example
The following example limits the number of characters a user can enter to 255:
myTextInput.maxChars = 255;
TextInput.maxHPosition
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
textInputInstance.maxHPosition
Description
Property (read-only); indicates the maximum value of
is 0.
Example
The following code scrolls to the far right:
myTextInput.hPosition = myTextInput.maxHPosition;
TextInput.password
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
textInputInstance.password
Description
Property; a Boolean value indicating whether the text field is a password field (
(
). If this property is
false
characters. If this property is
.
false
Example
The following code makes the text field a password field that displays all characters as asterisks (*):
myTextInput.password = true;
, the text field is a password text field and hides the input
true
, the text field is not a password text field. The default value is
false
TextInput.hPosition
TextInput component
. The default value
) or not
true
753
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?