User Guide
176 Chapter 6: Components Dictionary
ComboBox component
A combo box allows a user to make a single selection from a drop-down 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 drop-down list. If the drop-down 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 “TextInput component” on page 742),
with the exception of the following keys:
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
Arrow
Opens the drop-down list and gives it focus.
Shift+Tab Moves focus to the previous object.
Tab Moves focus to the next object.
Key Description
Control+Down
Arrow
Opens the drop-down list and gives it focus.
Control+Up
Arrow
Closes the drop-down list, if open in the stand-alone and browser versions of Flash
Player.
Down Arrow Moves the selection down one item.
End Selection moves to the bottom of the list.
Escape Closes the drop-down list and returns focus to the combo box in Test Movie mode.
Enter Closes the drop-down list and returns focus to the combo box.
Home Moves the selection to the top of the list.
Page Down Moves the selection down one page.
Page Up Moves the selection up one page.
Shift+Tab Moves focus to the previous object.
Tab Moves focus to the next object.
CHAPTER 6
Components Dictionary