Field Summary |
public
| addEventListener: Function |
| See the EventDispatcher Class in Flash Help
|
|
public
| changeHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| focusHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| killFocusHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
public
| removeEventListener: Function |
| See the EventDispatcher Class in Flash Help
|
|
public
| tabFocusHandler: Function |
| Can be used to assign a direct event handler to the component instance.
|
|
|
Property Summary |
public
| maxChars: Number (write)
|
| Sets the maximum number of allowable characters in the the text input.
|
|
public
| maxChars: Number (read)
|
| Gets the maximum number of allowable characters in the the text input.
|
|
public
| password: Boolean (write)
|
| Sets the password mode of the component. If true, text entered into the text input will not be legible, allowing for secure password entry.
|
|
public
| password: Boolean (read)
|
| Gets the password mode of the component.
|
|
public
| restrict: String (write)
|
| Restricts the characters that can be entered in the text input. See the Flash help for TextField.restrict for a full description on how to use this property. In the text input component, setting restrict to "" will allow any characters to be entered.
|
|
public
| restrict: String (read)
|
| Gets the character restriction of the component.
|
|
public
| text: String (write)
|
| Sets the text in the text input. This can include html tags which will be rendered if html is set to true.
|
|
public
| text: String (read)
|
| Gets the text displayed in the text input.
|
|
public
| textField: TextField (read-only)
|
| Returns a reference to the text field within the text input. You can use this for lower level control of the text, such as applying style sheets, or to access properties of the text field not exposed to the component.
|
|
public
| textHeight: Number (read-only)
|
| The height of the text in the the text input. This is simply the textHeight taken from the internal text field in the component.
|
|
|
|
Constructor |
public
| TextInput (
Void)
|
|
|
|
Method Summary |
public static
| create (
target: MovieClip, id: String, depth: Number, initObj: Object
): TextInput |
| Static method used to create an instance of a TextInput on stage at run time.
|
|
|
|