At 2:55 PM -0300 9/11/00, Renato Tegon Forti wrote:
>how developer this?
>
>If multiple timers are required, you must create and manage your own.
>These can be properties in a behavior, a global list, or even a parent
>script. Typically, you use the ticks property to track time in this
>manner.

Renato:

You can use the timeout() object in Director 8 to accomplish this.  Read
the documentation for more details.  Here's a quick example:

timeout("secondHand").new(1000, #tickTock, 0)
timeout("minuteHand").new(60000, #ching, 0)

on tickTock
  put "tickTock"
end tickTock

on ching
  put "ching"
end ching

Regards,

Terry

P.S. Your movie must be actually running for this to work.
-- 

...---===|    Terry R. Schussler    |===---...
...---===|  DIA Chief Investigator  |===---...

on visitWebsite yourSelection
 coolSites = [ \
   #greatSeminars : "http://www.macromediaSEMINARS.com/", \
   #directorIntelligenceAgency: "http://www.director8.com", \
   #freeBehaviors : "http://www.behaviors.com/"]
 gotoNetPage coolSites[yourSelection]
end visitWebsite


[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!]

Reply via email to