Onmousedown (Mouse.onmousedown Event Listener) - MACROMEDIA FLASHLITE2 ACTIONSCRIPT-LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

To view the entire script, see the animation.fla file in the ActionScript Samples Folder. The
following list shows typical paths to the ActionScript Samples folder:
Windows: boot drive\Program Files\Macromedia\Flash 8\Samples and
Tutorials\Samples\ActionScript
Macintosh: Macintosh HD/Applications/Macromedia Flash 8/Samples and Tutorials/
Samples/ActionScript
See also

onMouseDown (Mouse.onMouseDown event listener)

(Mouse.onMouseMove event listener)
listener)
onMouseDown (Mouse.onMouseDown event
listener)
onMouseDown = function() {}
Notified when the mouse button is pressed. To use the
a listener object. You can then define a function for
register the listener with the Mouse object, as shown in the following code:
var someListener:Object = new Object();
someListener.onMouseDown = function () { ... };
Mouse.addListener(someListener);
Listeners enable different pieces of code to cooperate because multiple listeners can receive
notification about a single event.
Note: This event listener is supported in Flash Lite only if
is
or
true
System.capabilities.hasStylus
Availability: ActionScript 1.0; Flash Lite 2.0
,
onMouseMove
,
onMouseUp (Mouse.onMouseUp event
onMouseDown
onMouseDown
System.capabilities.hasMouse
is
.
true
listener, you must create
and use
addListener()
Mouse
to
433

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASHLITE2 ACTIONSCRIPT-LANGUAGE and is the answer not in the manual?

This manual is also suitable for:

Flash lite 2

Table of Contents