-- Lingo syntax _movie.displayTemplate // JavaScript syntax _movie.displayTemplate;
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 |
dockingEnabled |
Determines whether a movie in a window (MIAW) will be dockable when opened during authoring. If |
resizable |
Determines whether a window is resizable. If |
title |
Returns or sets the title of the display template. For more information, see |
titlebarOptions |
A property list that stores title bar options for a window. The title bar options are |
systemTrayIcon |
(Microsoft Windows only) Determines whether a window has an associated icon in the system tray of a user's desktop. |
systemTrayTooltip |
(Microsoft Windows only) Determines the string that appears in the tooltip pop-up of the system tray icon. |
type |
Returns or sets the type of a window. If a window's type is set, all of the properties pertaining to that window type are set as well. The types of windows are |
These statements display the displayTemplate properties and their corresponding values in the Message window.
-- Lingo syntax trace(_movie.displayTemplate) // JavaScript syntax trace(_movie.displayTemplate);
These statements set various displayTemplate properties.
-- Lingo syntax
_movie.displayTemplate.dockingEnabled = TRUE
_movie.displayTemplate.resizable = FALSE
_movie.displayTemplate.appearanceOptions.mask = member("mask")
_movie.displayTemplate.titlebarOptions.sideTitlebar = TRUE
// JavaScript syntax
_movie.displayTemplate.dockingEnabled = true;
_movie.displayTemplate.resizable = false;
_movie.displayTemplate.appearanceOptions.mask = member("mask");
_movie.displayTemplate.titlebarOptions.sideTitlebar = true;
appearanceOptions, dockingEnabled, Movie, resizable, systemTrayIcon, title (Window), titlebarOptions, type (Window), Window