EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 609

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Selection.getCaretIndex() 609
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).
Selection.getCaretIndex()
Availability
Flash Player 5.
Usage
Selection.getCaretIndex()
Parameters
None.
Returns
An integer.
Description
Method; returns the index of the blinking insertion point (caret) position. If there is no blinking
insertion point displayed, 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).

Table of Contents

Related product manuals