Selection.getEndIndex()

Availability

Flash Player 5.

Usage

Selection.getEndIndex()

Parameters

None.

Returns

An integer.

Description

Method; returns the ending index of the currently focused selection span. If no index exists, or if there is no currently focused selection span, the method returns -1. Selection span indexes are zero-based (for example, the first position is 0, the second position is 1, and so on).