>So I'm all excited about the fact that objects in "the timeOutList" in D8
>are supposed to receive "on StartMovie" and "on PrepareMovie" events.
>("Using Director Shockwave Studio" page 290). However, when trying this out
>I find that "the timeOutList" is set to an empty list every time I leave a
>movie. This makes receiving the "startMovie" event a little difficult.
>
>Is there something I don't know?
>
>Is there more documentation on the new D8 timeOut features somewhere?
>(besides the "Lingo Dictionary" and "Using Director Shockwave Studio")
timeout objects have a "persistent" property - its buried in the online
help- so no wonder you can't find it.
Syntax timeoutObject.persistent
Description Object property; determines whether the given
timeoutObject is removed from the timeoutList when the current movie stops
playing. If TRUE, timeoutObject remains active. If FALSE, the timeout
object is deleted when the movie stops playing. The default value is FALSE.
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
--Roy Pardi
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]