}
}
See also
Player
actorList
Usage
-- Lingo syntax
_movie.actorList
// JavaScript syntax
_movie.actorList;
Description
Movie property; a list of child objects that have been explicitly added to this list. Read/write.
Objects in
actorList
To add an object to
object's
stepFrame
each frame advance.
To clear objects from
Director doesn't clear the contents of
cause unpredictable behavior in the new movie. To prevent child objects in the current movie
from being carried over to the new movie, insert the statement
handler of the new movie.
prepareMovie
Example
This statement adds a child object created from the parent script Moving Ball. All three values are
parameters that the script requires.
This statement displays the contents of
-- Lingo syntax
put(_movie.actorList)
// JavaScript syntax
put(_movie.actorList);
This statement clears objects from
-- Lingo syntax
_movie.actorList = [] -- using brackets
_movie.actorList = list() -- using list()
// JavaScript syntax
_movie.actorList = list();
See also
Movie,
on
prepareMovie,
receive a
stepFrame
, use
the actorList
handler in its parent or ancestor script will then be called automatically at
, set
the actorList
actorList
actorList
actorList
on stepFrame
message each time the playhead enters a frame.
_movie.actorList.append(newScriptObjRef)
to
, which is an empty list.
actorList
[ ]
when branching to another movie, which can
in the Message window:
.
in the
actorList = [ ]
actorList
. The
625
Need help?
Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?