Cursor statements :P

How would I say in as3:

While or if the cursor is stationary aka doesnt move?

If the cursor moves below certian speed?

After mouse click?