User Guide

chapter 683
channelCount
Usage
-- Lingo syntax
soundChannelObjRef.channelCount
// JavaScript syntax
soundChannelObjRef.channelCount;
Description
Sound Channel property; determines the number of channels in the currently playing or paused
sound in a given sound channel. Read-only.
This property is useful for determining whether a sound is in monaural or in stereo.
Example
This statement determines the number of channels in the sound cast member, Jazz.
-- Lingo syntax
put(member("Jazz").channelCount)
// JavaScript syntax
put(member("Jazz").channelCount);
This statement determines the number of channels in the sound member currently playing in
sound channel 2:
-- Lingo syntax
put(sound(2).channelCount)
// JavaScript syntax
put(sound(2).channelCount);
See also
Sound Channel
chapter
Usage
-- Lingo syntax
dvdObjRef.chapter
// JavaScript syntax
dvdObjRef.chapter;
Description
DVD property; returns the number of the current chapter. Read/write.
Example
This statement returns the current chapter:
-- Lingo syntax
trace (member(1).chapter) -- 1
// JavaScript syntax
trace (member(1).chapter); // 1