S > Selection.getBeginIndex

Selection.getBeginIndex

Syntax

Selection.getBeginIndex();

Arguments

None.

Description

Method; returns index at the beginning of the selection span. If no index exists or no field currently has the focus, 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.