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 (
) or not
true
(
). The default value is
.
false
true
Example
This example sets the
property to a value of
for the my_ti TextInput
editable
false
instance. This prevents the user from entering text in the instance. You can set the property to
to make the make the TextInput instance editable.
true
You must first drag a TextInput component to the Stage and give it an instance name of
; then add the following code to Frame 1.
my_ti
/**
Requires:
- TextInput instance on Stage (instance name: my_ti)
*/
var my_ti:mx.controls.TextInput;
my_ti.editable = false;
TextInput.editable
1221