
Chapter 19
492
blendFunction
List[
index
]
Get and set
Access to the blending function associated
with a texture layer at the position indicated by
index
, which must be a positive integer
smaller than or equal to 8.
Possible values are as follows:
#replace
#multiply
#add
#blend
#alpha
#constant
For detailed information on all of these
options, see blendFunctionList in the Lingo
Dictionary.
#multiply
blendFunction
Get and set
Access to the list of blending functions,
#multiply
,
#replace
,
#blend
, and
#add
, for the first layer.
#multiply
blendFunction
List
Get and set
Access to the list of blending functions,
#multiply
,
#replace
,
#blend
, and
#add
, for all layers.
#multiply
blendSource
List[
index
]
Get and set
Access to the blending source associated
with a specified layer.
When the
blendFunction
property is set
to
#blend
for the <index>th layer, this results
in the <index>th texture being combined with
the result of the previous layers for the entire
texture using a single blending ratio. The
blending ratio, in this case, is the value of
blendConstant
for layer <
index
>. For
example, if the layer at that index position’s
blendConstant
value is 0.9, the resultant
texture will be 90% of the texture at that index
position and 10% of the result of the previous
texture layers
Possible values are
#constant
and
#alpha
.
#constant
blendSource
List
Get and set
Access to the blending sources for each layer,
providing that the blend function is set to
#blend
.
Possible values are
#constant
and
#alpha
.
#constant
blendSource
Get and set
Access to the blending sources for the first
layer, providing that the blend function is set
to
#blend
.
Possible values are
#constant
and
#alpha
.
#constant
blendConstant
List[
index
]
Get and set
The blending ratio used for a specific layer
when the blend function is set to
#blend
and
blendSourceList[
index
]
is set to
#constant
. Returns a floating-point value
from
0.0
to
100.0
.
50.0
blendConstant
List
Get and set
The blending ratio used for any layer when the
blend function is set to
#blend
and
blendSourceList[
index
]
is set to
#constant
. Returns a floating-point value
from
0.0
to
100.0
.
50.0
Property Name
Access
Description
Default
Summary of Contents for Director MX
Page 1: ...Using Director MX Macromedia Director MX ...
Page 12: ...Contents 12 ...
Page 156: ...Chapter 4 156 ...
Page 202: ...Chapter 6 202 ...
Page 244: ...Chapter 7 244 ...
Page 292: ...Chapter 10 292 ...
Page 330: ...Chapter 12 330 ...
Page 356: ...Chapter 13 356 ...
Page 372: ...Chapter 14 372 ...
Page 442: ...Chapter 16 442 ...
Page 472: ...Chapter 18 472 ...
Page 520: ...Chapter 19 520 ...
Page 536: ...Chapter 20 536 ...
Page 562: ...Chapter 23 562 ...
Page 566: ...Chapter 24 566 ...
Page 602: ...Chapter 27 602 ...