         // the item currently in focus, is being selected. 
         if (event.keyCode == Keyboard.SPACE)
         {
-            selectedIndex = currentCaretIndex; 
+            selectedIndex = caretIndex; 
             event.preventDefault();
             return; 
         }

        if (retVal != -1)
        {
            selectedIndex = retVal;
            ensureItemIsVisible(retVal); 
            return true; 
        }
        else 

    private var _proposedSelectedIndices:Array = []; 
    private var multipleSelectionChanged:Boolean; 
    
    [Bindable("change")]
    /**
     *  An Array of inidices of the currently selected item or items. 
     *  If multiple selection is disabled by setting <code>allowMultipleSelection</code>
