ComboBox.getItemAt()

Availability

Flash Player 6.0.79.

Edition

Flash MX 2004.

Usage

comboBoxInstance.getItemAt(index)

Parameters

index A number greater than or equal to 0, and less than ComboBox.length. The index of the item to retrieve.

Returns

The indexed item object or value. The value is undefined if the index is out of range.

Description

Method; retrieves the item at a specified index.

Example

The following code displays the item at index position 4:

trace(myBox.getItemAt(4).label);