
443
number of xtras
Syntax
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
standard 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
Syntax
member(
whichCastMember
)
.
numChannels
the numChannels of member
whichCastMember
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.
Example
This example assigns the number of sound channels of the SWA streaming cast member Duke
Ellington to the field cast member Channel Display:
myVariable = member("Duke Ellington").numChannels
if myVariable = 1 then
member("Channel Display").text = "Mono"
else
member("Channel Display").text = "Stereo"
end if
numParticles
Syntax
member(
whichCastmember
).modelResource(
whichModelResource
).\
emitter.numParticles
modelResourceObjectReference
.emitter.numParticles
Description
3D property; when used with a model resource whose type is
#particle
, allows you to get or set
the
numParticles
property of the resource’s particle emitter. The value must be greater than 0
and no more than 100000. The default setting is 1000.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...