Detecting rotation direction

Is there a way in actionscript to determine if something is rotating CW or CCW? I created a knob in Flash but i’m stuck on how to tell which way the user is dragging it?