 include "../styles/metadata/BasicInheritingTextStyles.as"
 include "../styles/metadata/AdvancedInheritingTextStyles.as"
 include "../styles/metadata/SelectionFormatTextStyles.as"
-
-//--------------------------------------
-//  TouchScroll events
-//--------------------------------------
-
-// touchScrollStarting defined on UIComponent
-// touchScrollStart defined on UIComponent
-
-/**
- *  Dispatched as the user is drag scrolling.
- * 
- *  <p>The <code>event.dragX</code> and <code>event.dragY</code>
- *  properties are set to the distance dragged since the initial 
- *  mouseDown/touchBegin occurred.</p>
- *
- *  @eventType mx.events.TouchScrollEvent.TOUCH_SCROLL_DRAG
- *  
- *  @langversion 3.0
- *  @playerversion Flash 10
- *  @playerversion AIR 2.5
- *  @productversion Flex 4.5
- */
-[Event(name="touchScrollDrag", type="mx.events.TouchScrollEvent")]
-
-/**
- *  Dispatched when a user flicks or throw scrolls a list.
- * 
- *  <p>The <code>event.velocityX</code> and <code>event.velocityY</code>
- *  properties are set to the velocity the user threw the list.</p>
- *
- *  @eventType mx.events.TouchScrollEvent.TOUCH_SCROLL_THROW
- *  
- *  @langversion 3.0
- *  @playerversion Flash 10
- *  @playerversion AIR 2.5
- *  @productversion Flex 4.5
- */
-[Event(name="touchScrollThrow", type="mx.events.TouchScrollEvent")]
-
-/**
- *  Dispatched at the end of a scroll throw operation.
- * 
- *  <p>If no throw occurs, this is dispatched immediately on 
- *  mouseUp/touchEnd.  However, if a scroll throw does occur, then
- *  this is dispatched after the throw has completely finished.</p>
- *
- *  @eventType mx.events.TouchScrollEvent.TOUCH_SCROLL_END
- *  
- *  @langversion 3.0
- *  @playerversion Flash 10
- *  @playerversion AIR 2.5
- *  @productversion Flex 4.5
- */
-[Event(name="touchScrollEnd", type="mx.events.TouchScrollEvent")]
 
 //--------------------------------------
 //  Styles

    private function installTouchListeners():void
    {
        addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
        addEventListener(TouchScrollEvent.TOUCH_SCROLL_STARTING, touchScrollStartingHandler);
        addEventListener(TouchScrollEvent.TOUCH_SCROLL_START, touchScrollStartHandler);
        addEventListener(TouchScrollEvent.TOUCH_SCROLL_DRAG, touchScrollDragHandler);
        addEventListener(TouchScrollEvent.TOUCH_SCROLL_END, touchScrollEndHandler);
        addEventListener(TouchScrollEvent.TOUCH_SCROLL_THROW, touchScrollThrowHandler);
        
        // capture mouse listeners to help block click and mousedown events.
        // mousedown is blocked when a scroll is in progress

    private function uninstallTouchListeners():void
    {
        removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
        removeEventListener(GestureCaptureEvent.GESTURE_CAPTURE_STARTING, gestureCaptureStartingHandler);
        removeEventListener(GestureCaptureEvent.GESTURE_CAPTURE_START, gestureCaptureStartHandler);
        removeEventListener(GestureCaptureEvent.GESTURE_CAPTURE_END, gestureCaptureEndHandler);
        
        removeEventListener(MouseEvent.CLICK, touchScrolling_captureMouseHandler, true);
        removeEventListener(MouseEvent.MOUSE_DOWN, touchScrolling_captureMouseHandler, true);
