         // Add a high priority change handler so we can capture the event
         // and re-dispatch as a TextOperationEvent
         addEventListener(Event.CHANGE, changeHandler, false, 100);
+        
+        // Add a key down listener to listen for enter key
+        addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler);
     }
     
     //--------------------------------------------------------------------------

        }
    }
    
    //--------------------------------------------------------------------------
    //
    //  Variables

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;
