MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 611

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

Advertisement

Selection.onSetFocus
Availability
Flash Player 6.
Usage
someListener.onSetFocus = function(oldFocus, newFocus){
statements;
}
Description
Listener; notified when the input focus changes. To use
object. You can then define a function for
listener with the Selection object, as in the following:
someListener = new Object();
someListener.onSetFocus = function () { ... };
Selection.addListener(someListener);
Listeners enable different pieces of code to cooperate because multiple listeners can receive
notification about a single event.
See also
Selection.addListener()
Selection.removeListener()
Availability
Flash Player 6.
Usage
Selection.removeListener(listener)
Parameters
The object that will no longer receive focus notifications.
listener
Returns
If the
listener
not successfully removed, for example if the
list, the method returns a value of
Description
Method; removes an object previously registered with
was successfully removed, the method returns a
false
onSetFocus
and use
onSetFocus
was not on the Selection object's listener
listener
.
addListener()
, you must create a listener
to register the
addListener()
value. If the
true
listener
.
Selection.removeListener()
was
611

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