User Guide

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.