User Guide
ComboBox component 201
Example
The following example sends a message to the Output panel:
function open(evt) {
trace("The combo box has opened with text " + evt.target.text);
}
myBox.addEventListener("open", this);
See also
ComboBox.close
, EventDispatcher.addEventListener()
ComboBox.removeAll()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
comboBoxInstance.removeAll()
Parameters
None.
Returns
Nothing.
Description
Method; removes all items in the list. This is a method of the List component that is available
from an instance of the ComboBox component.
Example
The following code clears the list:
myCombo.removeAll();
See also
ComboBox.removeItemAt()
, ComboBox.replaceItemAt()
ComboBox.removeItemAt()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.