Chapter 46: Textinput Component - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

CHAPTER 46
TextInput component
The TextInput component is a single-line text component that is a wrapper for the native
ActionScript TextField object. You can use styles to customize the TextInput component;
when an instance is disabled, its contents appear in a color represented by the disabledColor
style. A TextInput component can also be formatted with HTML, or as a password field that
disguises the text.
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
Arrow keys
Shift+Tab
Tab
For more information about controlling focus, see
"Creating custom focus navigation" in Using Components.
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.
Description
Move the insertion point one character left and right.
Moves focus to the previous object.
Moves focus to the next object.
"FocusManager class" on page 721
46
or
1209

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents