0 Replies Latest reply on Feb 12, 2008 3:40 AM by soup_pot

    flexlib ButtonScrollingCanvas

    soup_pot
      Hi,

      Does anyone know if the flexlib:ButtonScrollingCanvas can be made to respond to DragEvents as well as MouseEvents? I want to be able to drag an item over the scrolling button, which would cause my application to scroll, thus allowing me to drop an item 'below the fold'. But so far DragEvents like DRAG_OVER are being ignored, I can only get MouseEvents like MOUSE_OVER etc. to work. Eg:

      This works:

      <flexlib:ButtonScrollingCanvas width="100%" height="100%"
      startScrollingEvent="{MouseEvent.MOUSE_DOWN}"
      stopScrollingEvent="{MouseEvent.MOUSE_OUT}" >

      This doesn't:

      <flexlib:ButtonScrollingCanvas width="100%" height="100%"
      startScrollingEvent="{DragEvent.DRAG_OVER}"
      stopScrollingEvent="{DragEvent.DRAG_EXIT}"
      >

      Any ideas?

      Thanks...