 
             var proposedNewIndex:int = NO_SELECTION;
             var currentIndex:int;
-            
+                        
             if (isDropDownOpen)
             {   
                 // Normalize the proposed index for getNavigationDestinationIndex

                {
                    case NavigationUnit.UP:
                    {
                        if (arrowKeysWrapFocus && currentIndex == 0)
                            proposedNewIndex = dataProvider.length - 1;
                        else
                        proposedNewIndex = currentIndex - 1;  
                        event.preventDefault();
                        break;
                    }                      
        
                    case NavigationUnit.DOWN:
                    {
                        if (arrowKeysWrapFocus && currentIndex == (dataProvider.length - 1))
                            proposedNewIndex = 0;
                        else
                        proposedNewIndex = currentIndex + 1;  
                        event.preventDefault();
                        break;
                    }


                    case NavigationUnit.END:
                    {
                        proposedNewIndex = maxIndex;  
                        event.preventDefault();
                        break;
                    }  
                       
                }
                
                proposedNewIndex = Math.min(proposedNewIndex, maxIndex);
                
                if (proposedNewIndex >= 0)
                    selectedIndex = proposedNewIndex;
