User Guide

ComboBox.textField 205
ComboBox.text
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
comboBoxInstance.text
Description
Property; the text of the text box. You can get and set this value for editable combo boxes. For
static combo boxes, the value is read-only.
Example
The following example sets the current text value of an editable combo box:
my_cb.addItem("Arkansas");
my_cb.addItem("Georgia");
my_cb.editable = true;
my_cb.text = "California";
ComboBox.textField
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
comboBoxInstance.textField
Description
Property (read-only); a reference to the TextInput component contained by the ComboBox
component.
This property lets you access the underlying TextInput component so that you can
manipulate it. For example, you might want to change the selection of the text box or restrict
the characters that can be entered in it.