User Guide

202 Chapter 6: Components Dictionary
Usage
listInstance.removeItemAt(index)
Parameters
index
A number that indicates the position of the item to remove. The index is zero-based.
Returns
An object; the removed item (undefined if no item exists).
Description
Method; removes the item at the specified index position. The list indices after the index
indicated by the
index parameter collapse by one. This is a method of the List component that is
available from an instance of the ComboBox component.
Example
The following code removes the item at index position 3:
myCombo.removeItemAt(3);
See also
ComboBox.removeAll()
, ComboBox.replaceItemAt()
ComboBox.replaceItemAt()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
comboBoxInstance.replaceItemAt(index, label[, data])
comboBoxInstance.replaceItemAt(index, {label:label[, data:data]})
comboBoxInstance.replaceItemAt(index, obj);
Parameters
index
A number 0 or greater that indicates the position at which to insert the item (the index
of the new item).
label A string that indicates the label for the new item.
data The data for the item. This parameter is optional.
obj An object with label and data properties.
Returns
Nothing.