620
Chapter 14: Properties
_player
Usage
-- Lingo syntax
_player
// JavaScript syntax
_player;
Description
Top-level property; provides a reference to the Player object, which manages and executes all
movies, including movies in a window (MIAWs). Read-only.
Example
This statement sets the variable
objPlayer
to the
_player
property:
-- Lingo syntax
objPlayer = _player
// JavaScript syntax
var objPlayer = _player;
This statement uses the
_player
property directly to access the value of the
xtraList
property:
-- Lingo syntax
theXtras = _player.xtraList
// JavaScript syntax
var theXtras = _player.xtraList;
See also
Player
_sound
Usage
-- Lingo syntax
_sound
// JavaScript syntax
_sound;
Description
Top-level property; provides a reference to the Sound object, which controls audio playback in all
eight available sound channels. Read-only.
Example
This statement sets the variable
objSound
to the
_sound
property:
-- Lingo syntax
objSound = _sound
// JavaScript syntax
var objSound = _sound;
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...