User Guide
pathStrength 915
Setting the path of an unlinked cast member converts it to a linked cast member.
This property can be tested and set. The
pathName property of an unlinked member is an
empty string.
This property is the same as the
fileName property for other member types, and you can use
fileName instead of pathName.
Example
The following startMovie script creates a new Flash cast member using the new command, sets
the newly created cast member’s
linked property so that the cast member’s assets are stored in an
external file, and then sets the cast member’s
pathName property to the location of a Flash movie
on the World Wide Web:
on startMovie
member(new(#flash)).pathName = \
"http://www.someURL.com/myFlash.swf"
end
See also
fileName (Member), linked
pathStrength
Usage
member(whichCastmember).modelResource(whichModelResource).\
emitter.pathStrength
Description
3D property; when used with a model resource whose type is #particle, determines how closely
the particles follow the path specified by the
path property of the emitter. Its range starts at 0.0
(no strength - so the particles won't be attracted to the path) and continues to infinity. Its default
value is 0.1. Setting
pathStrength to 0.0 is useful for turning the path off temporarily.
As the value of
pathStrength gets larger, the entire particle system will get more and more stiff.
Large
pathStrength values will tend to make the particles bounce around very quickly, unless
some dampening force is also used, such as the particle
drag property.
This property can be tested and set.
Example
In this example, ThermoSystem is a model resource of the type #particle. This statement sets the
pathStrength property of ThermoSystem to 0.97. If a path is outlined by ThermoSystem’s
emitter.path property, the particles follow that path very closely.
member("Fires").modelResource("ThermoSystem").emitter.\
pathStrength = 0.97
See also
path (3D), emitter