F > FComboBox.getLength

 

FComboBox.getLength

Availability

Flash Player 6.

Usage

myComboBox.getLength()

Parameters

None.

Returns

An integer.

Description

Method; returns the number of items in the combo box list.

Example

The following code retrieves the number of items in the list of listMain and stores it in the variable len.

var len = listMain.getLength();

See also

FComboBox.addItem, FComboBox.addItemAt