User Guide

media 849
maxSpeed
Usage
member(whichCastmember).modelResource(whichModelResource).\
emitter.maxSpeed
Description
3D property; when used with a model resource whose type is #particle, allows you to get and
set the maximum speed at which particles are emitted. Each particle’s initial velocity is randomly
selected between the emitters
minSpeed and maxSpeed properties.
The value is a floating-point number and must be greater than 0.0.
Example
In this example, ThermoSystem is a model resource of the type #particle. This statement sets
the
maxSpeed property of ThermoSystem to 15, which causes the fastest particles of
ThermoSystem to move fairly quickly. Within a given particle system, the faster a particle moves,
the farther it will travel.
member("Fires").modelResource("ThermoSystem").emitter.maxSpeed=15
See also
minSpeed, emitter
media
Usage
-- Lingo syntax
memberObjRef.media
// JavaScript syntax
memberObjRef.media;
Description
Member property; identifies the specified cast member as a set of numbers. Read/write.
Because setting this property can use large amounts of memory, it is best used during
authoring only.
You can use the
media property to copy the content of one cast member into another cast
member by setting the second member’s media value to the media value for the first member.
For a film loop cast member, the
media property specifies a selection of frames and channels in
the Score.
To swap media in a projector, it is more efficient to set the
member sprite property.