User Guide

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.