initialize="initializeHandler(event)">
import mx.managers.CursorManager;
[Embed(source="a.png")]
private var customCursor:Class;
private function initializeHandler(event:Event):void {
CursorManager.setCursor(customCursor);
}