Using FlexEvent.IDLE to Determine Inactivity
A FlexEvent.IDLE event will dispatch every 100 milliseconds when there has been no keyboard or mouse activity for 1 second. So, if you want to have some other method fire off after the user is inactive for 5 minutes (for example), you would set it up as detailed below. Be sure to import the following …