![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 6.0.79.
Flash MX 2004.
comboBoxInstance
.replaceItemAt(index
,label
[,data
])
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.
Nothing.
Method; replaces the content of the item at the index specified by the index parameter. This is a method of the List component that is available from the ComboBox component.
The following example changes the third index position:
myCombo.replaceItemAt(3, "new label");
ComboBox.removeAll()
, ComboBox.removeItemAt()
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |