>if this is the normal delay of the playhead on a particular
>frame, you could have done with that tempo setting and giving it 10
>seconds.

Huh? There's no way you can set the tempo to 1 frame every 10 seconds. You 
can't do a 10-second delay with the tempo.

There are three ways: the milliseconds, the ticks, and a timeout object. A 
timeout object is probably the easiest to use.

I posted this a couple of hours ago, but I'll do it again to keep it in 
this thread.

First, wherever you want to start the timer--say in a mouseUp handler--you 
do this:

   timeout("myTimer").new(10000, #myHandler, me)

That creates a timeout object. After 10,000 milliseconds (10 seconds), it 
will call a handler named myHandler. So, you need a handler:

on myHandler
    showNextQuestion --call a custom handler
    timeout("myTimer").forget() -- don't forget to dispose of your timeout 
object
end myHandler


Cordially,
Kerry Thompson
Learning Network


[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