In this example we have discuss about setBusyCursor() method in the flex application. CursorManager are provide a method setBusyCursor() when your application is processing and user should wait for the processing completion.
In this example we have discuss about setBusyCursor() method in the flex application. CursorManager are provide a method setBusyCursor() when your application is processing and user should wait for the processing completion.Flex setBusyCursor Example:-
In this example we have discuss about setBusyCursor() method in the flex application. CursorManager are provide a method setBusyCursor() when your application is processing and user should wait for the processing completion. The default busy cursor is animated clock.
Example:-
<?xml version="1.0"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"> <mx:Script><![CDATA[
import mx.managers.CursorManager; import flash.events.*;CursorManager.setBusyCursor();
img1.load(
"assets/t3.jpeg");img2.load(
"assets/t3.jpeg");img3.load(
"assets/t3.jpeg");img4.load(
"assets/t3.jpeg");img5.load(
"assets/t3.jpeg");img6.load(
"assets/t3.jpeg");img7.load(
"assets/t3.jpeg");img8.load(
"assets/t3.jpeg");img9.load(
"assets/t3.jpeg");img10.load(
"assets/t3.jpeg");}
private function loadComplete(event:Event):void {CursorManager.removeBusyCursor();
}
]]>
</mx:Application>
Output:-
