EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 620

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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;
MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 620