F > FComboBox.getValue |
![]() ![]() ![]() |
FComboBox.getValue
Availability
Flash Player 6.
Usage
myComboBox
.getValue()
Parameters
None.
Returns
A text string.
Description
Method; returns the text in the field at the top of the combo box, if the combo box is editable. If the combo box is static (not editable), this method returns the data associated with the selected item, or the label of the item if no data is associated.
Example
The following code returns the data or label of the currently selected item in menuMain
.
trace(menuMain
.getValue())
See also
![]() ![]() ![]() |