         }
     }
     
+    /**
+     *  @private
+     */
+    private function keyDownHandler(event:KeyboardEvent):void
+    {
+        if (event.isDefaultPrevented())
+            return;
+        
+        // Dispatch an "enter" event
+        if (event.keyCode == Keyboard.ENTER)
+        {
+            dispatchEvent(new FlexEvent(FlexEvent.ENTER));
+        }
+    }
+    
     //--------------------------------------------------------------------------
     //
     //  Variables

        // Add a high priority change handler so we can capture the event
        // and re-dispatch as a TextOperationEvent
        addEventListener(Event.CHANGE, changeHandler, false, 100);
    }
    
    //--------------------------------------------------------------------------

package spark.components.supportClasses
{
import flash.events.Event;
import flash.events.KeyboardEvent;
import flash.text.TextField;
import flash.text.TextFieldType;
import flash.text.TextFormat;
import flash.text.TextFormatAlign;
import flash.ui.Keyboard;

import mx.core.mx_internal;
import mx.events.FlexEvent;
