Set busy cursor with ActionScript

snipped by kreek

A Flex busy cursor is usually used with a service call but it can also be set and removed with ActionScript.

import mx.managers.CursorManager;
 
private function setBusyCursor():void
{
	CursorManager.setBusyCursor();
}
 
private function removeBusyCursor():void
{
	CursorManager.removeBusyCursor();
}