startTimer is part of a single timer functionality built into Director long, long ago.
if you have need of multiple timers, you must create your own. You may be able to make use of the timeOut object in this case.
No one has any idea what "How I can define each timer for several member?!?" means. What do timers have to do with members? Do you know? We certainly don't.....even the mindreaders have given up. Members are things in casts that may not even appear on the screen....I'm not sure how some sort of timer attached to them will do you much good....nor are we really clear as to what it is you want to 'time'.
The startTimer function mostly had to do with kiosk-type applications, where you would want to know how long it had been since someone last touched the mouse/keyboard and interacted with the kiosk, so you could go to an "attract loop".
Many of these items in the HELP files have to do with that:
<mk:@MSITStore:C:\Program%20Files\Macromedia\Director%20MX\Help\dirusing.chm::/03b_e235.htm#wp76368>lastClick(), <mk:@MSITStore:C:\Program%20Files\Macromedia\Director%20MX\Help\dirusing.chm::/03b_e237.htm#wp76398>lastEvent(), <mk:@MSITStore:C:\Program%20Files\Macromedia\Director%20MX\Help\dirusing.chm::/03b_e239.htm#wp76444>lastKey, <mk:@MSITStore:C:\Program%20Files\Macromedia\Director%20MX\Help\dirusing.chm::/03b_e240.htm#wp76473>lastRoll, <mk:@MSITStore:C:\Program%20Files\Macromedia\Director%20MX\Help\dirusing.chm::/03d_q280.htm#wp88531>timeoutLength, <mk:@MSITStore:C:\Program%20Files\Macromedia\Director%20MX\Help\dirusing.chm::/03d_q282.htm#wp88573>timeoutMouse, <mk:@MSITStore:C:\Program%20Files\Macromedia\Director%20MX\Help\dirusing.chm::/03d_q283.htm#wp88599>timeoutPlay, <mk:@MSITStore:C:\Program%20Files\Macromedia\Director%20MX\Help\dirusing.chm::/03d_q284.htm#wp88618>timeoutScript, <mk:@MSITStore:C:\Program%20Files\Macromedia\Director%20MX\Help\dirusing.chm::/03d_q285.htm#wp88640>timer
Though really, all it does is reset a countdown. Once can pretty easily keep track of what time it is twice:
AliAsksFirstTime = the milliseconds SomeRoutineWithNoResponse() AliAsksSameQuestionAgain = the milliseconds RoymeoTypesUpToMuch() FinishedTime = the milliseconds
put "How Long Since First Question: "& (FinishedTime - AliAsksFirstTime)
put "How Long Since Same Question: "& (FinishedTime - AliAsksSameQuestionAgain)
roymeo
At 12:30 PM 3/1/2005, you wrote:
Hi I have question about timers "starttimer" in director, If I can use two timer at the same time, How I can define each timer for several member?!?
Regards,
Ali
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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!]
----------- Roy Crisman Macromedia Director Programmer, Lingo Guru, Multimedia Producer 277 N. Goodman St. Rochester, NY 14607-1162 (585)473-3492 home (585)615-2873 cell http://www.brokenoffcarantenna.com/ roymeo(AT)brokenoffcarantenna.com
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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!]
