MovieClip.onKillFocus
Availability
Flash Player 6.
Usage
my_mc.onKillFocus = function (newFocus) {
// your statements here
}
Parameters
The object that is receiving the keyboard focus.
newFocus
Returns
Nothing.
Description
Event handler; invoked when a movie clip loses keyboard focus. The
receives one parameter,
focus. If no object receives the focus,
MovieClip.onLoad
Availability
Flash Player 6.
Usage
my_mc.onLoad = function() {
// your statements here
}
Parameters
None.
Returns
Nothing.
Description
Event handler; invoked when the movie clip is instantiated and appears in the Timeline. You
must define a function that executes when the event handler is invoked.
This handler can be used only with movie clips for which you have a symbol in the library that is
associated with a class. If you want an event handler to be invoked when a specific movie clip
loads, for example when you use
must use
onClipEvent(load)
movie clip loads.
, which is an object representing the new object receiving the
newFocus
newFocus
MovieClip.loadMovie()
instead of this handler. The latter handler is invoked when any
onKillFocus
contains the value
null
to load a SWF file dynamically, you
method
.
MovieClip.onLoad
523
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?
Questions and answers