User Guide

630 Chapter 14: Properties
allowZooming
Usage
-- Lingo syntax
_movie.allowZooming
// JavaScript syntax
_movie.allowZooming;
Description
Movie property; determines whether the movie may be stretched or zoomed by the user when
playing back in Shockwave Player and ShockMachine. Read/write.
Set this property to
FALSE to prevent users from changing the size of the movie in browsers and
ShockMachine.
The property defaults to
TRUE.
See also
allowCustomCaching, allowGraphicMenu, allowSaveLocal, allowTransportControl,
allowVolumeControl, Movie
alphaThreshold
Usage
-- Lingo syntax
memberObjRef.alphaThreshold
// JavaScript syntax
memberObjRef.alphaThreshold;
Description
Bitmap cast member property; governs how the bitmaps 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
Usage
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.