Chester,
Another dumb noob question from me, but I'm not great on Listeners...
How do I stop the class from checking for activity? I'm using it to
log-out back to a main menu swf on a certain duration, and I've tried:
myActivityMonitor.removeListener(myActivityMonitor);
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
Here's a working class I whipped up. It uses onMouseMove to monitor
their activity.
// BEGIN CLASS
// ActivityMonitor
// Created by Chester McLaughlin on 2006-11-09.
import mx.utils.Delegate;
import mx.events.EventDispatcher;
class ActivityMonitor {
var nLatestActivity:Number;
Millie Niss
[EMAIL PROTECTED]
http://www.sporkworld.org
- Original Message -
From: Ben [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Thursday, November 09, 2006 5:19 PM
Subject: RE: [Flashcoders] Best way to detect an idle user
Thanx, I'll give that a try!
P.
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Chester McLaughlin
Sent: Thursday, November 09, 2006 5:39 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Best way to detect an idle user
5 matches
Mail list logo