How to detect no Mouse Movement

so in as3 there is a nifty event listener for if the mouse has left the stage area, there is however, nothing of the sort in as2. so, Im trying to figure out how to go about this, Im thinking an onEnterFrame function that listens for either
A.) no Movement
or
B.) the same x and y position for an extended period of time.

Im thinking the no movement would do the trick but what should I be checking for on the onEnterFrame, and how would I tie setInterval into it? what properties would I check for if I used an IF/THEN statement? sorry my brain is fried and im looking to sort out the logic, any help would be awesome…