Description
Property (read-only); if the combo box is editable,
combo box is static,
list is the
field, or, if the
data
Example
The following example puts the data into the combo box by setting the
It then displays the
the text box.
cb.dataProvider = [
{label:"Alaska", data:"AZ"},
{label:"California", data:"CA"},
{label:"Washington", data:"WA"}];
cb.editable = true;
cb.selectedIndex = 1;
trace('Editable value is "California": '+ cb.value);
cb.editable = false;
cb.selectedIndex = 1;
trace('Non-editable value is "CA": '+ cb.value);
212
Chapter 6: Components Dictionary
returns the value of the drop-down list. The value of the drop-down
value
field doesn't exist, the
data
in the Output panel. Finally, it selects
value
returns the value of the text box. If the
value
field.
label
dataProvider
"California"
property.
and displays it in
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?
Questions and answers