MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 507

Director scripting reference
Table of Contents

Advertisement

resolveB
Usage
collisionData.resolveB(bResolve)
Description
3D collision method; overrides the collision behavior set by the
collisionData.modelB
modelB using
collision.resolve.
Parameters
Required. Specifies whether the collision for modelB is resolved. If
bResolve
then the collision for the modelB is resolved; if
not resolved.
See also
collisionData, resolve, registerScript(), modelB,
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 Command+R (Macintosh) or
Control+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
. Call this function only if you wish to override the behavior set for
collision.resolve
is
the collision for modelB is
bResolve
FALSE
setCollisionCallback()
property for
is
,
bResolve
TRUE
restart()
507

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

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

This manual is also suitable for:

Director mx 2004

Table of Contents