Selection 1069
Property summary
Properties inherited from class Object
Event summary
Method summary
constructor (Object.constructor property)
,
__proto__ (Object.__proto__
property)
,
prototype (Object.prototype property)
,
__resolve
(Object.__resolve property)
Event
Description
onSetFocus
=
function([oldfoc
us:Object],
[newfocus:Object
]) {}
Notified when the input focus changes.
Modifiers
Signature
Description
static
addListener
(listener
:Object) : Void
Registers an object to receive keyboard focus change
notifications.
static
getBeginIndex
() :
Number
Returns the index at the beginning of the selection
span.
static
getCaretIndex
() :
Number
Returns the index of the blinking insertion point (caret)
position.
static
getEndIndex
() :
Number
Returns the ending index of the currently focused
selection span.
static
getFocus
() : String
Returns a string specifying the target path of the
object that has focus.
static
removeListener
(liste
ner:Object) :
Boolean
Removes an object previously registered with
Selection.addListener()
.
static
setFocus
(newFocus:Ob
ject) : Boolean
Gives focus to the selectable (editable) text field,
button, or movie clip, specified by the
newFocus
parameter.
static
setSelection
(beginIn
dex:Number,
endIndex:Number) :
Void
Sets the selection span of the currently focused text
field.
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...