User Guide
690
• #age alters the color of the particle by linearly interpolating the color between
colorRange.start and colorRange.end over the lifetime of the particle. This is the default
setting for this property.
Example
In this example, ThermoSystem is a model resource of the type #particle. This statement sets the
ThermoSystem’s tweenMode to #velocity, so its slower particles will not reach the color specified
by colorRange.end, while its faster particles will:
member(8,2).modelResource("thermoSystem").tweenMode = \
#velocitytype (light)
type (cast member property)
Syntax
member(whichCastMember).type
the type of member whichCastMember
member( whichCastMember, which castLib). type
member whichCastMember of castLib whichCast.type
the type of member whichCastMember of castLib whichCast
Description
Cast member property; indicates the specified cast member’s type. This property replaces the
castType property used in previous versions of Director.
The
type member property can be one of the following values:
This list includes those types of cast members that are available in Director and the Xtra
extensions that come with it. You can also define custom cast member types for custom
cast members.
When a movie plays back as an applet, the
type member property is valid only for cast member
types that the player supports.
#animgif #palette
#bitmap #picture
#button #QuickTimeMedia
#cursor #script
#digitalVideo #shape
#empty #shockwave3D
#field #sound
#filmLoop #swa
#flash #text (#richText is now obsolete)
#font #transition
#movie #vectorShape
#ole