PDA

View Full Version : Timing Frames


micheal
09-26-2001, 08:33 AM
I am fairly new to actionscript and am trying to design a simple game.

What I need to do is find a way of determining how long a user has been on a particular question (i.e. frame) - if they have been looking at the same question for more than 10 secs I need it to go and play the welcome screen (i.e. end the game for the user).

Does anyone know how this can be done. I have been looking at getTimer() although this does not appear to be appropriate for monitoring particular frames.

Any ideas???

Jesse
09-26-2001, 08:42 AM
getTimer is what you need. check out the timerred events and delaying events tutorials in the intermediate section.