Joseph DeVore's Blog: CursorManager and BusyCursor()


Viewing By Entry / Main
September 11, 2007
If you are trying to manage the little busy cursor in Flex while data or whatever it is you are waiting on is loading, you can use the CursorManager class to accomplish this.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical" verticalAlign="middle">


<mx:Script>
<![CDATA[
import mx.managers.CursorManager;
]]>
</mx:Script>

<mx:ApplicationControlBar dock="true">
<mx:Button label="setBusyCursor()"
click="CursorManager.setBusyCursor();" />


<mx:Button label="removeBusyCursor()"
click="CursorManager.removeBusyCursor();" />

</mx:ApplicationControlBar>
</mx:Application>

Comments

Comments are not allowed for this entry.













Editor Login ›