Is it possible for you to decide wether a user is idle or not, by judging his mouse movements? Or is it required to actually measure the usage of particular elements? If you can suffice with the movement, it might be enough to create a seperate 'idle checking' class which either listens to mousemove events of for even less overhead, checks the mouse coordinates at given intervals. Then say after e.g. 3 check intervals if the coords are still the same, assume the user is inactive.
_____ Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Pete Miller Verzonden: donderdag 9 november 2006 22:45 Aan: Flashcoders mailing list Onderwerp: [Flashcoders] Best way to detect an idle user? My application starts with a user login/authentication. I want to implement an idle user process that logs the user out after X amount of time of no activity. The most obvious way I can think to do this is to start an interval timer, and keep reseting it any time a widget is used. That means adding a reset-function call to every component event handler, plus adding event handlers for many components that otherwise don't have relevant events. Does anyone have a more clever way of handling this? _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

