MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 608

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

Advertisement

Method summary for the Selection class
Method
Selection.addListener()
Selection.getBeginIndex()
Selection.getCaretIndex()
Selection.getEndIndex()
Selection.getFocus()
Selection.removeListener()
Selection.setFocus()
Selection.setSelection()
Listener summary for the Selection class
Listener
Selection.onSetFocus
Selection.addListener()
Availability
Flash Player 6.
Usage
Selection.addListener(newListener)
Parameters
newListener
Returns
None.
Description
Method; registers an object to receive keyboard focus change notifications. When the focus
changes (for example, whenever
registered with
addListener()
listen for focus change notifications. If the listener
change occurs.
608
Chapter 12: ActionScript Dictionary
Description
Registers an object to receive notification when
invoked.
Returns the index at the beginning of the selection span. Returns -1 if
there is no index or currently selected field.
Returns the current caret (insertion point) position in the currently
focused selection span. Returns -1 if there is no caret position or
currently focused selection span.
Returns the index at the end of the selection span. Returns -1 if there
is no index or currently selected field.
Returns the name of the variable for the currently focused text field.
Returns
Removes an object that was registered with
Focuses the text field associated with the specified variable.
Sets the beginning and ending indexes of the selection span.
Description
Notified when the input focus changes.
An object with an
onSetFocus
Selection.setFocus()
have their
if there is no currently focused text field.
null
method.
is invoked), all listening objects
method invoked. Multiple objects may
onSetFocus
newListener
onSetFocus
addListener()
is already registered, no
is
.

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

Subscribe to Our Youtube Channel

Table of Contents