Use CursorManager to load png file based cursor : Cursor « Components « Flex
- Flex
- Components
- Cursor
Use CursorManager to load png file based cursor

<?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="a.png")]
private var customCursor:Class;
private function initializeHandler(event:Event):void {
CursorManager.setCursor(customCursor);
}
</mx:Script>
</mx:Application>
Related examples in the same category