User Guide

numChannels 899
number of members
Usage
the number of members of castLib whichCast
Description
Cast member property; indicates the number of the last cast member in the specified cast.
This property can be tested but not set.
Example
The following statement displays in the Message window the type of each cast member in the cast
Central Casting. The
number of members of castLib property is used to determine how many
times the loop repeats.
repeat with i = 1 to the number of members of castLib("Central Casting")
put "Cast member" && i && "is a" && member(i, "Central Casting").type
end repeat
number of xtras
Usage
the number of xtras
Description
System property; returns the number of scripting Xtra extensions available to the movie. The Xtra
extensions may be either those opened by the
openxlib command or those present in the
Configuration\Xtras folder.
This property can be tested but not set.
Example
This statement displays in the Message window the number of scripting Xtra extensions that are
available to the movie:
put the number of xtras
numChannels
Usage
-- Lingo syntax
memberObjRef.numChannels
// JavaScript syntax
memberObjRef.numChannels;
Description
Shockwave Audio (SWA) cast member property; returns the number of channels within the
specified SWA streaming cast member. The value can be either 1 for monaural or 2 for stereo.
This property is available only after the SWA streaming cast member begins playing or after the
file has been preloaded using the
preLoadBuffer command.
This property can be tested but not set.