Using ActionScript 3.0 Components |
|
|
|
| Using the UI Components > Using TextInput > User interaction with TextInput | |||
A TextInput component can be enabled or disabled in an application. In the disabled state, it doesn't receive mouse or keyboard input. When enabled, it follows the same focus, selection, and navigation rules as an ActionScript TextField object. When a TextInput instance has focus, you can also use the following keys to control it:
|
Key |
Description |
|---|---|
|
Arrow keys |
Move the insertion point one character left and right. |
|
Shift+Tab |
Moves focus to the previous object. |
|
Tab |
Moves focus to the next object. |
For more information about controlling focus, see the FocusManager class in the ActionScript 3.0 Language and Components Reference and Working with FocusManager.
A live preview of each TextInput instance reflects changes made to parameters in the Property inspector or Component inspector during authoring. Text is not selectable in the live preview, and you cannot enter text in the component instance on the Stage.
When you add the TextInput component to an application, you can use the Accessibility panel to make it accessible to screen readers.
|
|
|
|