738
Chapter 14: Properties
In this example, the model resource of the model named Slogan is extruded text. This statement
sets the
displayFace
property of Slogan's model resource to
[#back, #tunnel]
. The front face
of Slogan will not be drawn.
member("scene").model("Slogan").resource.displayFace = \
[#back, #tunnel]
See also
extrude3D
,
displayMode
displayMode
Usage
member(whichTextCastmember)
.displayMode
Description
Text cast member property; specifies whether the text will be rendered as 2D text or 3D text.
If this property is set to
#Mode3D
, the text is shown in 3D. You can set the 3D properties (such as
displayFace
and
bevelDepth
) of the text, as well as the usual text properties (such as
text
and
font
). The sprite containing this cast member becomes a 3D sprite.
If this property is set to
#ModeNormal
, the text is shown in 2D.
The default value of this property is
#ModeNormal
.
Example
In this example, the cast member named Logo is a text cast member. This statement causes Logo
to be displayed in 3D.
member("Logo").displayMode = #mode3D
See also
extrude3D
displayRealLogo
Usage
-- Lingo syntax
memberOrSpriteObjRef
.displayRealLogo
// JavaScript syntax
memberOrSpriteObjRef
.displayRealLogo;
Description
RealMedia sprite or cast member property; allows you to set or get whether the RealNetworks
logo is displayed (
TRUE
) or not (
FALSE
). When set to
TRUE
, this property displays the
RealNetworks logo in the RealMedia viewer at the beginning of the stream, when the video is
stopped, or when the video is rewound.
The default value of this property is
TRUE
(1). Integer values other than 1 or 0 are treated as
TRUE
.
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...