652
Chapter 14: Properties
Description
Movie property; determines whether the computer automatically beeps when the user clicks on
anything except an active sprite (
TRUE
), or not (
FALSE
, default). Read/write.
Scripts that set
beepOn
should be placed in frame or movie scripts.
Example
This statement sets
beepOn
to
TRUE
:
-- Lingo syntax
_movie.beepOn = TRUE
// JavaScript syntax
_movie.beepOn = true;
This statement sets
beepOn
to the opposite of its current setting:
-- Lingo syntax
_movie.beepOn = not(_movie.beepOn)
// JavaScript syntax
_movie.beepOn = !(_movie.beepOn);
See also
Movie
bevelDepth
Usage
member(
whichTextCastmember
).bevelDepth
member(
which3DCastmember
).modelResource(
whichModelResource
).\
bevelDepth
Description
3D text property; indicates the degree of beveling on the 3D text.
For text cast members, this property has no effect unless the member’s
displayMode
property is
set to
#mode3D
and its
bevelType
property is set to
#miter
or
#round
.
For extruded text in a 3D cast member, this property has no effect unless the model resource’s
bevelType
property is set to
#miter
or
#round
.
The range of this property is 0.0 to 10.0, and the default setting is 10.0.
Example
In this example, the cast member named Logo is a text cast member. This statement sets the
bevelDepth
of logo to 5.5. When logo is displayed in 3D mode, if its
bevelType
property is set
to
#miter
or
#round
, the edges of its letters will exhibit dramatic beveling.
member("Logo").bevelDepth = 5.5
In this example, the model resource of the model named Slogan is extruded text. This statement
sets the
bevelDepth
of Slogan’s model resource to 5. If the
bevelType
property of Slogan is set to
#miter
or
#round
, the edges of its letters will exhibit dramatic beveling.
member("scene").model("Slogan").resource.bevelDepth = 5
Summary of Contents for DIRECTOR MX 2004
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...