quit()
487
The following Lingo adds the motion named Kick to the end of the
bonesPlayer
playlist of the
model named Walker. When all motions before Kick in the playlist have been executed, a section
of Kick will play in a continuous loop. The first iteration of the loop will begin 2000 milliseconds
from the motion’s beginning. All subsequent iterations of the loop will begin 1000 milliseconds
from Kick’s beginning and will end 5000 milliseconds from Kick’s beginning. The rate of
playback will be three times the
playRate
property of the model’s
bonesPlayer
modifier.
sprite(1).member.model("Walker").bonesPlayer.queue("Kick", 1, \
1000, 5000, 3, 2000)
See also
play() (3D)
,
playNext() (3D)
,
playRate (3D)
QuickTimeVersion()
Usage
-- Lingo syntax
QuickTimeVersion()
// JavaScript syntax
QuickTimeVersion();
Description
Function; returns a floating-point value that identifies the current installed version of QuickTime
and replaces the current
QuickTimePresent
function.
In Windows, if multiple versions of QuickTime 3.0 or later are installed,
QuickTimeVersion()
returns the latest version number. If a version before QuickTime 3.0 is installed,
QuickTimeVersion()
returns version number 2.1.2 regardless of the version installed.
Parameters
None.
Example
This statement uses
QuickTimeVersion()
to display in the Message window the version of
QuickTime that is currently installed:
-- Lingo syntax
put(QuickTimeVersion())
// JavaScript syntax
put(QuickTimeVersion());
quit()
Usage
-- Lingo syntax
_player.quit()
// JavaScript syntax
_player.quit();
Description
Player method; exits from Director or a projector to the Windows desktop or Macintosh Finder.
Содержание DIRECTOR MX 2004-DIRECTOR SCRIPTING
Страница 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Страница 48: ...48 Chapter 2 Director Scripting Essentials...
Страница 100: ...100 Chapter 4 Debugging Scripts in Director...
Страница 118: ...118 Chapter 5 Director Core Objects...
Страница 594: ...594 Chapter 12 Methods...
Страница 684: ...684 Chapter 14 Properties See also DVD...
Страница 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Страница 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Страница 889: ...netPresent 889 _player alert Sorry the Network Support Xtras could not be found See also Player...
Страница 1102: ...1102 Chapter 14 Properties...