MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 707

Director scripting reference
Table of Contents

Advertisement

Example
This
on keyDown
handler activates the
was pressed in addition to the Control key.
-- Lingo syntax
on keyDown
if (_key.controlDown) then
doControlKey(_key.key)
end if
end
on doControlKey(theKey)
trace("The " & theKey & " key is down")
end
// JavaScript syntax
function keyDown() {
if (_key.controlDown) {
doControlKey(_key.key);
}
}
function doControlKey(theKey) {
trace("The " & theKey & " key is down");
}
See also
Key,
key
controller
Usage
member(whichCastMember).controller
the controller of member whichCastMember
Description
Digital video cast member property; determines whether a digital video movie cast member shows
or hides its controller. Setting this property to 1 shows the controller; setting it to 0 hides the
controller.
The
controller
Setting
the controller
operation and generates no error message.
Checking the
returns
FALSE
The digital video must be in direct-to-stage playback mode to display the controller.
handler checks whether the pressed key is the Control key, and if it is, the
on doControlKey
member property applies to a QuickTime digital video only.
member property for a Video for Windows digital video performs no
member property for a Video for Windows digital video always
controller
.
handler. The argument
identifies which key
(_key.key)
controller
707

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