Mouse Class - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

Mouse class

Availability
Flash Player 5.
Description
The Mouse class is a top-level class whose properties and methods you can access without using a
constructor. You can use the methods of the Mouse class to hide and show the mouse pointer
(cursor) in the SWF file. The mouse pointer is visible by default, but you can hide it and
implement a custom pointer that you create using a movie clip (see
pointer" in
Using Flash).
Method summary for the Mouse class
Method
Mouse.addListener()
Mouse.hide()
Mouse.removeListener()
Mouse.show()
Listener summary for the Mouse class
Method
Mouse.onMouseDown
Mouse.onMouseMove
Mouse.onMouseUp
Mouse.onMouseWheel
ActionScript Language Reference
Description
Registers an object to receive
, and
onMouseWheel
onMouseUp
Hides the mouse pointer in the SWF file.
Removes an object that was registered with
Displays the mouse pointer in the SWF file.
Description
Notified when the mouse button is pressed down.
Notified when the mouse is moved.
Notified when the mouse button is released.
Notified when the user rolls the mouse wheel.
"Creating a custom mouse
,
onMouseDown
onMouseMove
notification.
addListener()
Mouse class
CHAPTER 2
,
.
475

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Flash mx

Table of Contents