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 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
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.
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...