             {
                 if (direction == TileBaseDirection.VERTICAL)
                 {
-                    moveSelectionHorizontally(event.keyCode, 
+                    moveSelectionHorizontally(keyCode, 
                                               event.shiftKey, 
                                               event.ctrlKey);
                 }
                 else
                 {
-                    moveSelectionVertically(event.keyCode, 
+                    moveSelectionVertically(keyCode, 
                                             event.shiftKey, 
                                             event.ctrlKey);
                 }


            default:
            {
                if (findKey(event.keyCode))
                    event.stopPropagation();
            }
        }


        if (!collection) return;

        // If rtl layout, need to swap LEFT for RIGHT so correct action
        // is done.
        var keyCode:int = mapKeycodeForLayoutDirection(event);
                
        switch (keyCode)
        {
            case Keyboard.UP:
            case Keyboard.DOWN:
            {
                moveSelectionVertically(keyCode,
                                        event.shiftKey, 
                                        event.ctrlKey);
                event.stopPropagation();
