MovieClip.onRollOver
Availability
Flash Player 6.
Usage
my_mc.onRollOver = function() {
// your statements here
}
Parameters
None.
Returns
Nothing.
Description
Event handler; invoked when the pointer moves over a movie clip area. You must define a
function that executes when the event handler is invoked.
Example
The following example defines a function for the
the Output panel.
my_mc.onRollOver = function () {
trace ("onRollOver called");
};
MovieClip.onSetFocus
Availability
Flash Player 6.
Usage
my_mc.onSetFocus = function(oldFocus){
// your statements here
}
Parameters
The object to lose focus.
oldFocus
Returns
Nothing.
Description
Event handler; invoked when a movie clip receives keyboard focus. The
the object that loses the focus. For example, if the user presses the Tab key to move the input
focus from a movie clip to a text field,
If there is no previously focused object,
onRollOver
contains the movie clip instance.
oldFocus
contains a
oldFocus
method that sends a
parameter is
oldFocus
value.
null
MovieClip.onSetFocus
to
trace()
529
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?