 import flash.utils.Dictionary;
 import flash.utils.Timer;
 
+import flash.utils.getTimer;
+
 /**
  * A very simple class that adapts the KeyboardEvents generated by some source and altering
  * (or blocking) the key repeat rate.


    protected function handleTimerEvent (event :TimerEvent) :void
    {
        // dispatch any saved key events
        for each (var keyEvent :KeyboardEvent in _down) {
            dispatchEvent(keyEvent);
        }
    }


    /** Tracks whether a key is currently being held down. */
    protected var _down :Dictionary = new Dictionary();

    protected var _limitRate :int;
}
}
