 [SkinState("normalWithPrompt")]
 
 /**
- *  Disabled State with Prompt
+ *  Disabled state with Prompt.
  *  
  *  @langversion 3.0
  *  @playerversion Flash 10.2

    [SkinPart(required="false")]
    
    /**
     *  The Label or other IDisplayText that may be present
     *  in any skin assigned to this component.
     *  
     *  @langversion 3.0

     */
    private function touchInteractionStartHandler(event:TouchInteractionEvent):void
    {
        // During a touch scroll we don't want the keyboard to activate. Add a
        // "softKeyboardActivating" handler to cancel the event.
        textDisplay.addEventListener(SoftKeyboardEvent.SOFT_KEYBOARD_ACTIVATING, 
                        softKeyboardActivatingHandler);
    }
    
    /**
     *  @private
     */
    private function touchInteractionEndHandler(event:TouchInteractionEvent):void
    {
        // Remove the soft keyboard activate cancelling handler.
        textDisplay.removeEventListener(SoftKeyboardEvent.SOFT_KEYBOARD_ACTIVATING, 
                        softKeyboardActivatingHandler);
    }
    
    /**
     *  @private
     * 
     *  This handler is only added during touch scroll events. It prevents
     *  the onscreen keyboard from activating if a scroll occurred.
     */
    private function softKeyboardActivatingHandler(event:SoftKeyboardEvent):void
    {
        event.preventDefault();
    }
}

}
