initialize="initializeHandler(event)">
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);
}