MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 428

Director scripting reference
Table of Contents

Advertisement

Parameters
newShaderName
must be unique in the shader list.
Required. A symbol that determines the style in which the shader is applied. Valid
shaderType
values include the following:
shaders are photorealistic, and have the following properties:
#standard
blendConstant
blendSourceList
,
region
renderStyle
textureMode
textureTransform
wrapTransform
shaders are smoothed out, have the appearance of a painting, and have the following
#painter
properties in addition to all of the
hilightStrength
shaders are lined, have the appearance of an engraving, and have the following
#engraver
properties in addition to all of the #standard properties:
and
rotation
shaders are in a simulated dot style, have the appearance of a newspaper
#newsprint
reproduction, and have the following properties in addition to all of the #standard properties:
,
brightness
Example
This statement creates a
newPainter = member("3D World").newShader("newPainter",#painter)
See also
shadowPercentage
newTexture
Usage
member(whichCastmember).newTexture(newTextureName \
{,#typeIndicator, sourceObjectReference})
Description
3D command; creates a new texture within the referenced member's texture palette and returns a
reference to the new texture. The only way cast member textures will work is if you specify the
cast member in the
Parameters
newTextureName
must be unique in the referenced cast member's texture palette.
428
Chapter 12: Methods
Required. Specifies the name of the new shader. The name of the new shader
,
blendConstantList
,
,
diffuse
diffuseLightMap
,
silhouettes
,
,
textureModeList
textureRepeat
,
textureTransformList
, and
wrapTransformList
#standard
,
,
name
shadowPercentage
.
, and
.
density
name
shader called newPainter:
#painter
constructor.
newTexture
Required. Specifies the name of the new texture. The name of the new texture
,
,
blendFunction
blendFunctionList
,
emissive
,
,
specular
specularLightMap
,
textureRepeatList
,
transparent
.
properties:
colorSteps
,
shadowStrength
brightness
,
ambient
,
blendSource
,
,
,
flat
glossMap
ilk
,
,
texture
,
,
useDiffuseWithTexture
,
hilightPercentage
, and
.
style
,
,
density
name
,
blend
,
,
,
name
,
,
,

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