
354
Example
This statement sets the loop property of the cast member named Walkers to TRUE. Motions
being executed by the first model in Walker will repeat continuously.
member("Walkers").loop = TRUE
See also
motion
,
play() (3D)
,
queue() (3D)
,
animationEnabled
loop (emitter)
Syntax
member(
whichCastmember
).modelResource(
whichModelResource
).\
emitter.loop
Description
3D property; when used with a model resource whose type is
#particle
, this property allows you
to both get and set what happens to particles at the end of their lifetime. A loop value of
TRUE
causes particles to be reborn at the end of their lifetime at the emitter location defined by the
emitter’s
region
property. A value of
FALSE
causes the particles to die at the end of their lifetime.
The default setting for this property is
TRUE
.
Example
In this example, ThermoSystem is a model resource of the type #particle. This statement sets the
emitter.loop property of ThermoSystem to 1, which causes the particles of ThermoSystem to be
continuously emitted.
member("Fires").modelResource("ThermoSystem").emitter.loop = 1
See also
emitter
loop (keyword)
Syntax
loop
Description
Keyword; refers to the marker. The
loop
keyword with the
go to
command is equivalent to the
statement
go to the marker
.
Example
This handler loops the movie between the previous marker and the current frame:
on exitFrame
go loop
end exitFrame
loop (cast member property)
Syntax
member(
whichCastMember
).loop
the loop of member
whichCastMember
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...