User Guide
922 Chapter 14: Properties
Setting this property to TRUE allows a timeout object to continue generating timeout events in
other movies. This is useful when one movie branches to another with the
go to movie
command.
Example
This prepareMovie handler creates a timeout object that will remain active after the declaring
movie stops playing:
on prepareMovie
-- Make a timeout object that sends an event every 60 minutes.
timeout("reminder").new(1000 * 60 * 60, #handleReminder)
timeout("reminder").persistent = TRUE
end
See also
name (timeout), period, target, time (timeout object), timeout(),
timeoutHandler, timeoutList
picture (Member)
Usage
-- Lingo syntax
memberObjRef.picture
// JavaScript syntax
memberObjRef.picture;
Description
Cast member property; determines which image is associated with a bitmap, text, or PICT cast
member. To update changes to a cast member’s registration point or update changes to an image
after relinking it using the
fileName property, use the following statement:
member(whichCastMember).picture = member(whichCastMember).picture
where you replace whichCastMember with the name or number of the affected cast member.
Because changes to cast members are stored in RAM, this property is best used during authoring.
Avoid setting it in projectors.
The property can be tested and set.
Example
This statement sets the variable named pictHolder to the image in the cast member
named Sunset:
-- Lingo syntax
pictHolder = member("Sunset").picture
// JavaScript syntax
var pictHolder = member("Sunset").picture;
See also
type (sprite)