S > Selection.getBeginIndex |
![]() ![]() ![]() |
Selection.getBeginIndex
Availability
Flash Player 5.
Usage
Selection.getBeginIndex()
Parameters
None.
Returns
An integer.
Description
Method; returns the index at the beginning of the selection span. If no index exists or no text field currently has focus, 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).
![]() ![]() ![]() |