Chapter 8: Combobox Component - MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference

Components language reference
Table of Contents

Advertisement

CHAPTER 8
ComboBox component
A combo box allows a user to make a single selection from a pop-up list. A combo box can be
static or editable. An editable combo box allows a user to enter text directly into a text field at
the top of the list, as well as selecting an item from a pop-up list. If the pop-up list hits the
bottom of the document, it opens up instead of down. The combo box is composed of three
subcomponents: a Button component, a TextInput component, and a List component.
When a selection is made in the list, the label of the selection is copied to the text field at the
top of the combo box. It doesn't matter if the selection is made with the mouse or the
keyboard.
A ComboBox component receives focus if you click the text box or the button. When a
ComboBox component has focus and is editable, all keystrokes go to the text box and are
handled according to the rules of the TextInput component (see
on page
1209), with the exception of the following keys:
Key
Description
Control+Down
Opens the drop-down list and gives it focus.
Arrow
Shift+Tab
Moves focus to the previous object.
Tab
Moves focus to the next object.
When a ComboBox component has focus and is static, alphanumeric keystrokes move the
selection up and down the drop-down list to the next item with the same first character. You
can also use the following keys to control a static combo box:
Key
Description
Control+Down
Opens the drop-down list and gives it focus.
Arrow
Control+Up
Closes the drop-down list, if open in the stand-alone and browser versions of
Arrow
Flash Player.
Down Arrow
Moves the selection down one item.
"TextInput component"
8
157

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents