Set BusyCursor with CursorManager : CursorManager « Components « Flex






Set BusyCursor with CursorManager

Set BusyCursor with CursorManager
 
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">

    <mx:Script>
        
            import mx.managers.CursorManager;
      
    </mx:Script>

    <mx:Button label="Show Busy Cursor" click="CursorManager.setBusyCursor()" />
    <mx:Button label="Hide Busy Cursor" click="CursorManager.removeBusyCursor()" />
    
</mx:Application>

   
  








Related examples in the same category

1.Use CursorManager to install and remove Image based cursorUse CursorManager to install and remove Image based cursor