User Guide
Chapter 394
Example
This statement compares the 32-bit binary versions of 5 and 6 and returns the result as an integer:
put bitXor(5, 6)
-- 3
See also
bitNot(), bitOr(), bitAnd()
blend
Syntax
sprite(whichSprite).blend
the blend of sprite whichSprite
Description
Sprite property; sets or determines a sprite’s blend value, from 0 to 100, corresponding to the
blend values in the Sprite Properties dialog box.
The possible colors depend on the colors available in the palette, regardless of the monitor’s
color depth.
The Director player for Java supports the
blend sprite property for bitmap sprites only.
For best results, use the blend ink with images that have a color depth greater than 8-bit.
Examples
The following statement sets the blend value of sprite 3 to 40 percent.
Dot syntax:
sprite(3).blend = 40
Verbose syntax:
set the blend of sprite 3 to 40
This statement displays the blend value of sprite 3 in the Message window:
put the blend of sprite 3
See also
blendLevel
blend (3D)
Syntax
sprite(whichSprite).camera{(index)}.backdrop[index].blend
member(whichCastmember).camera(whichCamera).backdrop[index].blend
sprite(whichSprite).camera{(index)}.overlay[index].blend
member(whichCastmember).camera(whichCamera).overlay[index].blend
member(whichCastmember).shader(whichShader).blend
member(whichCastmember).model(whichModel).shader.blend
member(whichCastmember).model(whichModel).shaderList{[index]}.blend