User Guide
750 Chapter 6: Components Dictionary
Example
This example sets a flag in the application that indicates if contents in the TextInput field have
changed:
form.change = function(eventObj){
// note: eventObj.target refers to the component that generated the change
// event, i.e., the TextInput component.
myFormChanged.visible = true; // set a change indicator if the contents
changed;
}
myInput.addEventListener("change", form);
See also
EventDispatcher.addEventListener()
TextInput.editable
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
textInputInstance.editable
Description
Property; a Boolean value that indicates whether the component is editable (true) or not
(
false). The default value is true.
TextInput.enter
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
Usage 1:
on(enter){
...
}
Usage 2:
listenerObject = new Object();
listenerObject.enter = function(eventObject){
...