MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 202

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

Usage
listInstance.removeItemAt(index)
Parameters
A number that indicates the position of the item to remove. The index is zero-based.
index
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
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()
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
A number 0 or greater that indicates the position at which to insert the item (the index
index
of the new item).
A string that indicates the label for the new item.
label
The data for the item. This parameter is optional.
data
An object with
obj
Returns
Nothing.
202
Chapter 6: Components Dictionary
parameter collapse by one. This is a method of the List component that is
index
,
ComboBox.replaceItemAt()
and
label
data
properties.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

This manual is also suitable for:

Flash mx

Table of Contents