controller 707
Example
This on keyDown handler checks whether the pressed key is the Control key, and if it is, the
handler activates the
on doControlKey handler. The argument (_key.key) identifies which key
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 member property applies to a QuickTime digital video only.
• Setting the controller member property for a Video for Windows digital video performs no
operation and generates no error message.
• Checking the controller member property for a Video for Windows digital video always
returns
FALSE.
The digital video must be in direct-to-stage playback mode to display the controller.