MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 731

Director scripting reference
Table of Contents

Advertisement

Example
This statement tests the size of the monitors connected to the computer and displays the result in
the Message window:
-- Lingo syntax
put(_system.deskTopRectList)
// JavaScript syntax
put(_system.deskTopRectList);
This handler tells how many monitors are in the current system:
-- Lingo syntax
on countMonitors
return _system.deskTopRectList
end
// JavaScript syntax
function countMonitors() {
return _system.deskTopRectList;
}
See also
System
diffuse
Usage
member(whichCastmember).shader(whichShader).diffuse
member(whichCastmember).model(whichModel).shader.diffuse
member(whichCastmember).model(whichModel).shaderList{[index]}.\
diffuse
Description
3D
#standard
shader when the following conditions are met:
the shader's
useDiffuseWithTexture
the
blendFunction
the
blendFunction
shader is set to
than 100.
The default value is of this property is
Example
This statement sets the
member("MysteryWorld").shader("Globe").diffuse = rgb(255, 0, 0)
See also
diffuseColor, useDiffuseWithTexture, blendFunction, blendSource,
shader property; indicates a color that is blended with the first texture of the
property of the shader is set to
property of the shader is set to
, and the value of the
#constant
property of the shader named Globe to
diffuse
property is set to
TRUE
#add
#blend
blendConstant
rgb( 255, 255, 255 )
, and either
or
, or
#multiply
, the
blendSource
property of the shader is less
.
rgb(255, 0, 0)
blendConstant
property of the
.
diffuse
731

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents