MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 618

Director scripting reference
Table of Contents

Advertisement

Description
Top-level property; provides a reference to the Key object, which is used to monitor a user's
keyboard activity. Read-only.
Example
This statement sets the variable
-- Lingo syntax
objKey = _key
// JavaScript syntax
var objKey = _key;
This statement uses the
-- Lingo syntax
theKey = _key.key
// JavaScript syntax
var theKey = _key.key;
See also
Key
_mouse
Usage
-- Lingo syntax
_mouse
// JavaScript syntax
_mouse;
Description
Top-level property; provides a reference to the Mouse object, which provides access to a user's
mouse activity, including mouse movement and mouse clicks. Read-only.
Example
This statement sets the variable
-- Lingo syntax
objMouse = _mouse
// JavaScript syntax
var objMouse = _mouse;
This statement uses the
-- Lingo syntax
theMouseH = _mouse.mouseH
// JavaScript syntax
var theMouseH = _mouse.mouseH;
See also
Mouse
618
Chapter 14: Properties
to the
objKey
property directly to access the value of the
_key
to the
objMouse
property directly to access the value of the
_mouse
property:
_key
property:
_mouse
property:
key
property:
mouseH

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents