Flex-Show busy cursor when loading data into grid


Hi folks,

Currently I am learning Mate framework (mate.asfusion.com) which is available for flex Application development.

When you use any service call, like HTTPSerice, WebService  or RemoteObject method (more), you probably what to show  busy cursor when data is loading. So for that  you need following things:

Use this in the import section

import mx.managers.CursorManager;

and the following line before using the ‘send’ method

CursorManager.setBusyCursor();

and the following line when you want the busy cursor turned off –

CursorManager.removeBusyCursor();

Update: Please see my comment!

Advertisements