MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference page 1069

Actionscript 2.0 language reference
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents