AS3 Inactivity check?

Looking for an AS3 example of how to check for user inativity, and launch a screensaver movieclip.

Like this one: http://www.kirupa.com/forum/showthread.php?t=211509&highlight=inactivity