601
shiftDown
Syntax
the shiftDown
Description
System property; indicates whether the user is pressing the Shift key (
TRUE
) or not (
FALSE
).
In the Director player for Java, this function returns
TRUE
only if the Shift key and another key are
pressed simultaneously. If the Shift key is pressed by itself,
shiftDown
returns
FALSE
.
The Director player for Java supports key combinations with the Shift key. However, the browser
receives the keys before the movie and thus responds to and intercepts any key combinations that
are also browser keyboard shortcuts.
This property must be tested in conjunction with another key.
Example
This statement checks whether the Shift key is being pressed and calls the handler
doCapitalA
if it is:
if (the shiftDown) then doCapitalA (the key)
See also
commandDown
,
controlDown
,
key()
,
optionDown
shininess
Syntax
member(
whichCastmember
).shader(
whichShader
).shininess
member(
whichCastmember
).model(
whichModel
).shader.shininess
member(
whichCastmember
).model(
whichModel
).shaderList\
[
shaderListIndex
].shininess
Description
3D standard shader property; allows you to get or set the shininess of a surface. Shininess is
defined as the percentage of shader surface devoted to highlights. The value is an integer between
0 and 100, with a default of 30.
All shaders have access to the
#standard
shader properties; in addition to these standard shader
properties shaders of the types
#engraver
,
#newsprint
, and
#painter
have properties unique to their
type. For more information, see
newShader
.
Example
The following statement sets the shininess property of the first shader in the shader list of the
model gbCyl3 to 60. Sixty percent of the surface of the shader will be dedicated to highlights.
member("Scene").model("gbCyl3").shader.shininess = 60
Summary of Contents for DIRECTOR MX-LINGO DICTIONARY
Page 1: ...Lingo Dictionary Macromedia Director MX...
Page 756: ...Index 756...