Mouse/User Inactivity Timer help please

Hey all,
forgive me if the solution to this is basic, I am a designer by education and self taught AS programmer just beginning to adapt to AS3. What I am trying to do is detect when a user has been inactive, i.e. has not clicked the mouse in some time. I am not really sure where to being so any advice would be helpful. Thanks and happy holidays!
-A