 import flash.events.Event;
 import flash.events.FocusEvent;
 import flash.events.MouseEvent;
+import flash.events.SoftKeyboardEvent;
 import flash.system.Capabilities;
 
 import flashx.textLayout.elements.TextFlow;

     */
    override public function setFocus():void
    {
        // If the mouse is down, then we don't want the TextField to get focus until mouse up. 
        // Otherwise, this was called programmatically and we want the soft keyboard to appear immediately.
        // Note that isMouseDown can only be true when we are in InteractionMode == TOUCH. 
        if (textDisplay)
        {
            if (isMouseDown)
                delaySetFocus = true;
            else
                textDisplay.setFocus();
        }
    }


    }
    
    /**
     * @private
     */
    private function softKeyboardActivatingHandler(event:SoftKeyboardEvent):void
    {
        event.preventDefault();
    }
    
    /**
     *  @private
     *  Called when the RichEditableText dispatches a 'selectionChange' event.
     */
