User Guide
465
path
Syntax
member(whichCastmember).modelResource(whichModelResource).\
emitter.path
Description
3D property; when used with a model resource whose type is #particle, allows you to get or set
the path property of the resource’s particle emitter.
This property is a list of vectors that define the path particles follow over their lifetime. The
default value of this property is an empty list
[].
Example
In this example, ThermoSystem is a model resource of the type #particle. This statement specifies
that the particles of ThermoSystem will follow the path outlined by the list of vectors.
member("Fires").modelResource("ThermoSystem").emitter.path = \
[vector(0,0,0), vector(15,0,0), vector(30,30,-10)]
See also
pathStrength, emitter
pathName (cast member property)
Syntax
member(whichFlashMember).pathName
the pathName of member whichFlashMember
Description
Cast member property; controls the location of an external file that stores the assets of a Flash
movie cast member are stored. You can link a Flash movie to any path on a local or network drive
or to a URL.
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 (cast member property), linked