1 Reply Latest reply on Jan 18, 2011 2:19 PM by Flex harUI

    Set System Cursor via CursorManager

    fedster72

      How do I force the cursor to be the system cursor while not flushing the current cursor list?

       

      In other words, I would like to be able to do something like

       

      protected function fooComponent_rollOverHandler(event:MouseEvent):void

      {

          CursorManager.removeCursor(_cursorID);

          _cursorID = CursorManager.setCursor(systemCursor, 1);

      }

       

       

      protected function fooComponent_rollOutHandler(event:MouseEvent):void

      {

          CursorManager.removeCursor(_cursorID);

      }

      where system cursor is the actual system cursor. I've used a jpg that looks like a system cursor but that doesn't port very between OSs. Would be happy to extend CursorManger or CursorMangerImpl if that's the only way to do this, although I'm not sure how to do that.
      thank you!
      f