User Guide
Chapter 370
allowZooming
Syntax
the allowZooming
Description
Movie property; determines whether the movie may be stretched or zoomed by the user when
playing back in Shockwave and ShockMachine. Defaults to TRUE. This property can be tested and
set. Set this property to
FALSE to prevent users from changing the size of the movie in browsers
and ShockMachine.
See also
allowGraphicMenu, allowSaveLocal, allowTransportControl, allowVolumeControl
alphaThreshold
Syntax
member(whichMember).alphaThreshold
the alphaThreshold of member whichMember
Description
Bitmap cast member property; governs how the bitmap’s alpha channel affects hit detection. This
property is a value from 0 to 255, that exactly matches alpha values in the alpha channel for a 32-
bit bitmap image.
For a given
alphaThreshold setting, Director detects a mouse click if the pixel value of the alpha
map at that point is equal to or greater than the threshold. Setting the
alphaThreshold to 0
makes all pixels opaque to hit detection regardless of the contents of the alpha channel.
See also
useAlpha
ambient
Syntax
member(whichCastmember).shader(whichShader).ambient
member(whichCastmember).model(whichModel).shader.ambient
member(whichCastmember).model(whichModel).shaderList{[index]}.\
ambient
Description
3D #standard shader property; indicates how much of each color component of the ambient
light in the cast member is reflected by the shader.
For example, if the color of the ambient light is
rgb(255, 255, 255) and the value of the
ambient property of the shader is rgb(255, 0, 0), the shader will reflect all of the red
component of the light that the shader’s colors can reflect. However, it will reflect none of the
blue and green components of the light, regardless of the colors of the shader. In this case, if there
are no other lights in the scene, the blue and green colors of the shader will reflect no light, and
will appear black.
The default value of this property is
rgb(63,63,63).