sin()
543
shutDown()
Usage
-- Lingo syntax
_system.shutDown()
// JavaScript syntax
_system.shutDown();
Description
System method; closes all open applications and turns off the computer.
Parameters
None.
Example
This statement checks whether the user has pressed S (Windows) or S
(Macintosh) and, if so, shuts down the computer:
See also
System
sin()
Usage
sin(
angle
)
Description
Math function (Lingo only); calculates the sine of the specified angle. The angle must be
expressed in radians as a floating-point number.
In JavaScript syntax, use the Math object’s
sin()
function.
Parameters
angle
Required. Specifies the angle.
Example
This statement calculates the sine of
pi
/2:
put sin (PI/2.0)
-- 1
See also
PI
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...