• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 11. Deeper into Lingo > Scripting with timeout properties

Scripting with timeout properties

We noted that using the rollOver provides a middle ground of user interaction, somewhere between active and passive. We'll now venture into the realm of the entirely passive: scripts that do something only when the user does nothing. We'll do that by manipulating some of the properties associated with the timeOut event.

A timeOut event occurs after a time has passed (a time we determine) in which no user action takes place (we determine which user actions count). For example, if we are interested only in mouse clicks, we can use the timeOut event to say, "If the user hasn't clicked the mouse in 3 minutes, then do the following." Director keeps a running count of the amount of time that has elapsed. If the user clicks the mouse, Director's timer is set back to zero.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint