restart()
507
resolveB
Usage
collisionData.resolveB(
bResolve
)
Description
3D collision method; overrides the collision behavior set by the
collision.resolve
property for
collisionData.modelB
. Call this function only if you wish to override the behavior set for
modelB using
collision.resolve.
Parameters
bResolve
Required. Specifies whether the collision for modelB is resolved. If
bResolve
is
TRUE
,
then the collision for the modelB is resolved; if
bResolve
is
FALSE
the collision for modelB is
not resolved.
See also
collisionData
,
resolve
,
registerScript()
,
modelB
,
setCollisionCallback()
restart()
Usage
-- Lingo syntax
_system.restart()
// JavaScript syntax
_system.restart();
Description
System method; closes all open applications and restarts the computer.
Parameters
None.
Example
This statement restarts the computer when the user presses R (Macintosh) or
R (Windows):
-- Lingo syntax
if (_key.key = "r" and _key.commandDown) then
_system.restart()
end if
// JavaScript syntax
if (_key.key = "r" && _key.commandDown) {
_system.restart();
}
See also
System
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...