EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 860

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...
860 Chapter 14: Properties
missingFonts
Usage
member(textCastMember).missingFonts
Description
Text cast member property; this property contains a list of the names of the fonts that are
referenced in the text, but not currently available on the system.
This allows the developer to determine during run time if a particular font is available or not.
This property can be tested but not set.
See also
substituteFont
mode (emitter)
Usage
member(whichCastmember).modelResource(whichModelResource).\
emitter.mode
Description
3D property; when used with a model resource whose type is #particle, allows you to both get
and set the
mode property of the resource’s particle emitter.
This property can have the value
#burst or #stream (default). A mode value of #burst causes all
particles to be emitted at the same time, while a value of
#stream causes a group of particles to be
emitted at each frame. The number of particles emitted in each frame is determined using the
following equation:
particlesPerFrame = resourceObject.emitter.numParticles \
(resourceObject.lifetime x millisecondsPerRenderedFrame)
Example
In this example, ThermoSystem is a model resource of the type #particle. This statement sets the
emitter.mode property of ThermoSystem to #burst, which causes the particles of ThermoSystem
to appear in bursts. To create a single burst of particles, set
emitter.mode = #burst and
emitter.loop = 0.
member("Fires").modelResource("ThermoSystem").emitter.mode = #burst
See also
emitter