Flex AutoComplete Input Enter key Problem

From Adobe Flex Component  “AutoComplete Input” ,It doesnt work when use in FlashPlayer 10. Cannot use Enter Key to close drop down.

<strong>line 158:</strong>
/**
*  @private
*
*/
private var enterKeyDown:Boolean = false;
<strong>
</strong>
<strong>line 490:</strong>
else if(event.keyCode == Keyboard.ENTER)
{
     if(keepLocalHistory && dataProvider.length==0)
	addToLocalHistory();

     enterKeyDown = true; /** modified */
}
<strong>
</strong>
<strong>line 568:</strong>
if(showDropdown && !dropdown.visible && !enterKeyDown)  /** modified */
{
     //This is needed to control the open duration of the dropdown
    super.open();
    showDropdown = false;
    showingDropdown = true;

    if(dropdownClosed)
      dropdownClosed=false;
 }
 enterKeyDown = false;  /** modified */

Download here  AutoComplete.as