                 // Data provider is being reset, clear out the selection
                 if (dataProvider.length == 0)
                 {
-                    selectedIndex = NO_SELECTION;
+                    setSelectedIndex(NO_SELECTION, false);
                     setCurrentCaretIndex(NO_CARET);
                 }
                 else

     */
    mx_internal var allowCustomSelectedItem:Boolean = false;
    
    //--------------------------------------------------------------------------
    //
    //  Overridden properties

    mx_internal var _selectedIndex:int = NO_SELECTION;
    
    [Bindable("change")]
    [Bindable("valueCommit")]
    /**
     *  The 0-based index of the selected item, or -1 if no item is selected.
     *  Setting the <code>selectedIndex</code> property deselects the currently selected
