package { import mx.managers.CursorManager; import mx.rpc.AsyncToken; import mx.rpc.events.FaultEvent; import mx.rpc.events.ResultEvent; import mx.rpc.http.mxml.HTTPService;
public class myHttpService extends HTTPService { public function myHttpService(rootURL:String=null, destination:String=null) { super(rootURL, destination); this.addEventListener(ResultEvent.RESULT, onResultEvent); this.addEventListener(FaultEvent.FAULT, onFaultEvent); } [Embed(source="assets/waiting_animated.swf")] public static const Waiting:Class; public var cursorId:int; override public function send(parameters:Object=null):AsyncToken{ cursorId = CursorManager.setCursor(Waiting); return super.send(parameters); } public function onResultEvent(event:ResultEvent):void{ CursorManager.removeCursor(cursorId); } public function onFaultEvent(event:FaultEvent):void{ CursorManager.removeCursor(cursorId); } } } try this i have used it for custom busy Cursor over an Http Service call. if u want the other controls not be clicked. 1. use an transparent image which fits the entire screen(user wont be able to click anything other than that.) on firing(invoking ) a call. On resultevent make image visibility false; 2. use popup component. -- Thanks & Regards GK -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.