How can I tell when a user has been idle for say 5 minutes on my Flex app?
When I say "idle" I mean the user has not interacted with the application at all.
Thanks!!
See also the idle
event in SystemManager
. This approach works for AIR or Flash Player.
application.systemManager.addEventListener(FlexEvent.IDLE, onIdle);
You can get the idle time (in an unsupported way) using
SystemManager.mx_internal::idleCounter