F > FListBox.getScrollPosition |  |

FListBox.getScrollPosition

FListBox, FListBox.getScrollPosition, getScrollPosition

Availability

Flash Player 6.

Usage

    myListBox.getScrollPosition()

Parameters

None.

Returns

An integer.

Description

Method; returns the index of the item currently at the top of the list box view.

Example

The following code returns the index of the item at the top of `staffList`.

    staffList.getScrollPosition();

See also

`FListBox.setScrollPosition`