240
Chapter 12: Methods
appMinimize()
Usage
-- Lingo syntax
_player.appMinimize()
// JavaScript syntax
_player.appMinimize();
Description
Player method; in Microsoft Windows, causes a projector to minimize to the Windows Task Bar.
On the Macintosh, causes a projector to be hidden.
On the Macintosh, reopen a hidden projector from the Macintosh application menu.
This method is useful for projectors and MIAWs that play back without a title bar.
Parameters
None.
Example
--Lingo syntax
on mouseUp me
_player.appMinimize()
end
// JavaScript syntax
function mouseUp() {
_player.appMinimize();
}
See also
Player
atan()
Usage
-- Lingo syntax
(
number
).atan
atan (
number
)
// JavaScript syntax
Math.atan(
number
);
Description
Math function (Lingo only); calculates the arctangent, which is the angle whose tangent is a
specified number. The result is a value in radians between pi/2 and +pi/2.
In JavaScript syntax, use the Math object’s
atan()
function.
Parameters
None.
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
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...