Remove cursor by id
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" initialize="initializeHandler(event)"> <mx:Script> import mx.managers.CursorManager; [Embed(source="logo.png")] private var customCursor:Class; private var cursorId:int; private function initializeHandler(event:Event):void { cursorId = CursorManager.setCursor(customCursor); } </mx:Script> <mx:Button label="Reset Cursor" click="CursorManager.removeCursor(cursorId)" /> </mx:Application>