MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 752

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

Advertisement

Usage
textInputInstance.hPosition
Description
Property; defines the horizontal position of the text in the field. The default value is 0.
Example
The following code displays the leftmost character in the field:
myTextInput.hPosition = 0;
TextInput.length
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
inputInstance.length
Description
Property (read-only); a number that indicates the number of characters in a TextInput
component. A character such as tab (
Example
The following code determines the number of characters in the
to the
variable:
length
var length = myTextInput.length;
TextInput.maxChars
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
textInputInstance.maxChars
Description
Property; the maximum number of characters that the text field can contain. A script may insert
more text than the
can enter. If this property is
default value is
null
752
Chapter 6: Components Dictionary
"\t"
property allows; this property indicates only how much text a user
maxChars
, there is no limit to the amount of text a user can enter. The
null
.
) counts as one character. The default value is 0.
myTextInput
string and copies it

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