User Guide

chapterCount() 257
channel() (Sound)
Usage
-- Lingo syntax
_sound.channel(intChannelNum)
// JavaScript syntax
_sound.channel(intChannelNum);
Description
Sound method; returns a reference to a specified sound channel.
The functionality of this method is identical to the top level
sound() method.
Parameters
intChannelNum
Required. An integer that specifies the sound channel to reference.
Example
This statement sets the variable named myChannel to sound channel 2:
-- Lingo syntax
myChannel = _sound.channel(2)
// JavaScript syntax
var myChannel = _sound.channel(2);
See also
Sound, sound(), Sound Channel
chapterCount()
Usage
-- Lingo syntax
dvdObjRef.chapterCount({intTitle})
// JavaScript syntax
dvdObjRef.chapterCount({intTitle});
Description
DVD method; indicates the number of available chapters in a title.
Parameters
intTitle Optional. An integer that specifies the title that contains the chapters to count. If
omitted,
chapterCount() returns the number of available chapters in the current title.
See also
chapterCount, DVD