Using Input Text Fields - MACROMEDIA FLASH 8-DEVELOPING FLASH LITE 2.X Develop Manual

Developing flash lite 2.x applications
Hide thumbs Also See for FLASH 8-DEVELOPING FLASH LITE 2.X:
Table of Contents

Advertisement

Using input text fields

Input text fields in Flash Lite, like dynamic text fields, let you get and set their contents at
runtime with ActionScript. In addition, input text fields let Flash Lite applications get user
input using the device's generic input text dialog box. (Flash Lite does not support inline text
input.) The following image shows an input dialog box on a Symbian Series 60 device:
To open the device's input dialog box, users must first give an input text field focus, and then
press their device's select key. By default, Flash Lite draws a yellow rectangle around the input
text field that has focus. (If you disable the focus rectangle, Macromedia recommends that
you create an alternative focus indicator. For more information about customizing the focus
rectangle, see
"About the focus rectangle" on page
custom focus indicator, see
The text input dialog box is modal, which means that the user can't interact with the Flash
content while the dialog box has focus. Flash Lite also pauses the playhead in the Flash
application while the dialog box has focus.
If the user selects OK (the left soft key), the text input dialog box closes, and Flash Lite
automatically assigns the text to the input text field. If the user selects Cancel (the right soft
key), no text is assigned to the input text field.
Input text field with focus
Device's text input dialog box
"Controlling focus with ActionScript" on page
16. For more information about creating a

Using input text fields

18.)
35

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents