MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 609

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

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).
Selection.getCaretIndex()
609

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?

Questions and answers

Table of Contents