Onmousedown (Mouse.onmousedown Event Listener) - 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

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

Table of Contents