The value of this property can also be set using the Reset Monitor to Movie's Color Depth option
in the General Preferences dialog box.
Example
This statement sets the variable named
-- Lingo syntax
switcher = _player.switchColorDepth
// JavaScript syntax
var switcher = _player.switchColorDepth;
This statement checks whether the current color depth is 8-bit and turns the
property on if it is:
-- Lingo syntax
if (_system.colorDepth = 8) then
_player.switchColorDepth = TRUE
end if
// JavaScript syntax
if (_system.colorDepth == 8) {
_player.switchColorDepth = true;
}
See also
colorDepth,
Player
systemTrayIcon
Usage
-- Lingo syntax
_movie.displayTemplate.systemTrayIcon
windowObjRef.systemTrayIcon
// JavaScript syntax
_movie.displayTemplate.systemTrayIcon;
windowObjRef.systemTrayIcon;
Description
Movie and Windows property (Microsoft Windows only). Determines whether a window has an
icon in the system tray of a user's desktop. Read/write.
If
systemTrayIcon
If
systemTrayIcon
See also
displayTemplate, Movie, systemTrayTooltip,
1024
Chapter 14: Properties
switcher
is
, a window icon is placed in the system tray.
TRUE
is
, no icon appears in the system tray.
FALSE
to the current setting of
Window
:
switchColorDepth
switchColorDepth
Need help?
Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?
Questions and answers