Addlistener (Selection.addlistener Method) - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

Method summary
Modifiers
Signature
static
addListener(listener:Object) :
static
getFocus() :
static
removeListener(listener:Object) :
Boolean
static
setFocus(newFocus:Object) :
Methods inherited from class Object
addProperty (Object.addProperty
(Object.hasOwnProperty
(Object.isPropertyEnumerable
method),
registerClass (Object.registerClass
(Object.toString
(Object.valueOf
method),

addListener (Selection.addListener method)

public static addListener(listener:Object) : Void
Registers an object to receive keyboard focus change notifications. When the focus changes
(for example, whenever
with
addListener()
focus change notifications. If the specified listener is already registered, no change occurs.
Availability: ActionScript 1.0; Flash Lite 2.0
Parameters
- A new object with an
listener:Object
576
ActionScript classes
String
method),
method),
isPropertyEnumerable
method),
method),
unwatch (Object.unwatch
watch (Object.watch method)
Selection.setFocus()
have their
onSetFocus
Description
Registers an object to receive
Void
keyboard focus change
notifications.
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
Boolean
(editable) text field, button, or movie
clip, specified by the newFocus
parameter.
hasOwnProperty
isPrototypeOf (Object.isPrototypeOf
method),
method),
is invoked), all listening objects registered
method invoked. Multiple objects may listen for
method.
onSetFocus
toString
valueOf

Advertisement

Table of Contents
loading

Table of Contents