EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 740

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
740 Chapter 14: Properties
Example
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;
See also
appearanceOptions, dockingEnabled, Movie, resizable, systemTrayIcon, title
(Window), titlebarOptions, type (Window), Window
resizable
Determines whether a window is resizable. If TRUE, the window is resizable. If
FALSE, the window is not resizable. The default value is TRUE. For more
information, see
resizable.
title
Returns or sets the title of the display template. For more information,
see
title.
titlebarOptions
A property list that stores title bar options for a window. The title bar options are
icon, visible, closebox, minimizebox, maximizebox, and sideTitlebar. For more
information, see
titlebarOptions.
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
tool, document, and dialog. For more information, see type.
Property Description