S > Selection.getEndIndex

Selection.getEndIndex

Syntax

Selection.getEndIndex();

Arguments

None.

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 (where the first position is 0, the second position is 1, and so on).

Player

Flash 5 or later.