displayTemplate
739
Example
The following examples show that the
displayRealLogo
property for sprite 2 and the cast
member Real is set to
TRUE
, which means that the RealNetworks logo is displayed when the
movie starts to play and when it is stopped or rewound.
-- Lingo syntax
put(sprite(2).displayRealLogo) -- 1
put(member("Real").displayRealLogo) -- 1
// JavaScript syntax
trace(sprite(2).displayRealLogo); // 1
put(member("Real").displayRealLogo); // 1
The following examples set the
displayRealLogo
property for sprite 2 and the cast member Real
to
FALSE
, which means that the RealNetworks logo is not displayed.
-- Lingo syntax
sprite(2).displayRealLogo = FALSE
member("Real").displayRealLogo = FALSE
// JavaScript syntax
sprite(2).displayRealLogo = 0;
member("Real").displayRealLogo = 0;
displayTemplate
Usage
-- Lingo syntax
_movie.displayTemplate
// JavaScript syntax
_movie.displayTemplate;
Description
Movie property; provides access to a list of properties that are applied to the window in which a
movie is playing back. Read/write.
The
displayTemplate
property provides access to the properties of the Window object that are
used to specify default window settings. Therefore,
displayTemplate
is used on the Movie
object to return or set default window settings in the same way the
appearanceOptions
and
titlebarOptions
properties are used on the Window object.
The
displayTemplate
property provides access to the following properties.
Property
Description
appearanceOptions
A property list that stores appearance options for a window. The appearance
options are
mask
,
border
,
metal
,
dragRegionMask
,
shadow
, and
liveresize
. For
more information, see
appearanceOptions
.
dockingEnabled
Determines whether a movie in a window (MIAW) will be dockable when
opened during authoring. If
TRUE
, the window can be docked. If
FALSE
, the
window cannot be docked. The default value is
FALSE
. For more information, see
dockingEnabled
.
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...