 
         var newCaretColumnIndex:int;
 
-        switch (event.keyCode)
+        switch (keyCode)
         {
             case Keyboard.UP:
             {

            case Keyboard.PAGE_UP:
            case Keyboard.PAGE_DOWN:
            {
                moveSelectionVertically(event.keyCode, event.shiftKey, event.ctrlKey);
                break;
            }


            }
            event.stopImmediatePropagation();
        }
        else if (event.ctrlKey && event.shiftKey && keyCode == Keyboard.LEFT)
        {
            // Left Arrow closes an open item. Otherwise selects the parent item.
            if (isItemOpen(item))
