Title: Show Busy Cursor on Remote Call? Post by: Westside on November 25, 2008, 04:01:18 Hi,
I am working with remote objects and when I use the <mx:RemoteObject> tag there is a property called "showBusyCursor", this displays a little clock wheel that suggests the page is loading. I am new to Flex for the most part and PureMVC but I have a "RemoteDelegate.as" Class that I am using and in it there I have the following code: public function RemoteDelegate( responder:IResponder, url:String ) { ro = new RemoteObject(); ro.destination = "ColdFusion"; ro.source = url; ro.showBusyCursor = true; // this does not work for some reason this.responder = responder; } 1. So, the first question is how can I get the showBusyCursor to work when I am creating my Remote Object through ActionScript as opposed to MXML. 2. How can I use a custom loader icon/animation/progress bar of some sort. I would like to have some modal window popup with a progress bar or something and say "Logging In" Any help highly appreciated. Thanks, -Westside Title: Re: Show Busy Cursor on Remote Call? Post by: Westside on November 25, 2008, 04:54:17 Hi,
Well, it turns out the answer was I was importing a different, but very similar class. // OLD CODE import mx.rpc.remoting.RemoteObject; // NEW CODE import mx.rpc.remoting.mxml.RemoteObject; By using the latter, I am now able to get the "showBusyCursor" At first glance these two classes seem very similar. -Westside |