S > Selection.getCaretIndex

Selection.getCaretIndex

Syntax

Selection.getCaretIndex();

Arguments

None.

Description

Method; returns the index of the blinking cursor position. If there is no blinking mouse pointer displayed, 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.