[flexcoders] Re: Simple way to do Please wait... type window

2006-08-03 Thread bhaq1972
guys its not working because, your line popUpParent = mainPanel; isn't being set inside an initialize event(for eg). you can do this mx:Application initialize=test() function test() { popUpParent=mainPanel } regards bod --- In flexcoders@yahoogroups.com, Rick Root [EMAIL PROTECTED]

[flexcoders] Re: Simple way to do Please wait... type window

2006-08-02 Thread bhaq1972
] On Behalf Of Paul Andrews Sent: Tuesday, August 01, 2006 5:07 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Simple way to do Please wait... type window - Original Message - From: JesterXL [EMAIL PROTECTED] mailto:jesterxl% 40jessewarden.com n.com To: [EMAIL

Re: [flexcoders] Re: Simple way to do Please wait... type window

2006-08-02 Thread Rick Root
Tim Hoff wrote: If you want, go ahead and post what your code currently looks like, and we'll get you fixed up. It's probably just a minor syntax issue. tim, you can view the code here... I won't paste it in because that kinda stuff never shows up well in mailing lists =)

[flexcoders] Re: Simple way to do Please wait... type window

2006-08-02 Thread Tim Hoff
Hey Rick, A couple of things jump out. // Add this import import mx.core.Application; // Make sure the path is correct import PleaseWaitWindow; // may need path import mx.managers.PopUpManager; import mx.core.IFlexDisplayObject; import flash.display.DisplayObject;// Don't need to do this - just

[flexcoders] Re: Simple way to do Please wait... type window

2006-08-02 Thread Tim Hoff
Do you still have this line. var popUpParent:DisplayObject; If so, then wtf. --- In flexcoders@yahoogroups.com, Rick Root [EMAIL PROTECTED] wrote: Tim, I made all your suggested changes but I still get a compiler error on this line: popUpParent =

Re: [flexcoders] Re: Simple way to do Please wait... type window

2006-08-02 Thread Rick Root
Tim Hoff wrote: Do you still have this line. var popUpParent:DisplayObject; If so, then wtf. Yup, I sure do. And yeah, wtf? I solved the problem by eliminating the reference to popUpParent entirely and just put Application.application.mainPanel where it was used in the code. rick

[flexcoders] Re: Simple way to do Please wait... type window

2006-08-01 Thread Stefan Schmalhaus
--- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: The spinning watch is what we use 100% of the time; that's the default cursor that still allows you to click around. Is there a way to make the busy cursor modal so that the user can't use it to click around? Stefan

Re: [flexcoders] Re: Simple way to do Please wait... type window

2006-08-01 Thread Paul Andrews
- Original Message - From: JesterXL [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, August 01, 2006 4:35 AM Subject: Re: [flexcoders] Re: Simple way to do Please wait... type window Depends. The spinning watch is what we use 100% of the time; that's the default cursor

Re: [flexcoders] Re: Simple way to do Please wait... type window

2006-08-01 Thread Rick Root
Tim Hoff wrote: Here's some code if you're interested: http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=448 http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=448 Tim, thanks.. I'm trying to use that code but having a problem with this line:

Re: [flexcoders] Re: Simple way to do Please wait... type window

2006-08-01 Thread Rick Root
gotgoose09 wrote: You could use showBusyCursor=true on your RemoteObject, that's what I do. That actually works great. Combined with disabling/enabling the entire panel, it does just what I want. Though I'd still like to get the popup title window with the progress bar working... Rick

Re: [flexcoders] Re: Simple way to do Please wait... type window

2006-08-01 Thread Douglas Knudsen
I'm liking Jesse 'JW' Wardens's suggestion. (If you had a dollar for everyone that noticed that, eh?) But I've been playing with this. I set a bool flag in my model called inProgress. When a command runs its execute() method, I set inProgress = true. in the onresult() and onfault() I set

Re: [flexcoders] Re: Simple way to do Please wait... type window

2006-08-01 Thread JesterXL
ay, August 01, 2006 9:00 AM Subject: Re: [flexcoders] Re: Simple way to do "Please wait..." type window I'm liking Jesse 'JW' Wardens's suggestion. (If you had a dollar for everyone that noticed that, eh?) But I've been playing with this. I set a bool flag in my model called inProgress.

Re: [flexcoders] Re: Simple way to do Please wait... type window

2006-08-01 Thread Douglas Knudsen
it and replaces it with a label of Please wait - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Tuesday, August 01, 2006 9:00 AM Subject: Re: [flexcoders] Re: Simple way to do Please wait... type window I'm liking Jesse 'JW' Wardens's suggestion. (If you had

[flexcoders] Re: Simple way to do Please wait... type window

2006-08-01 Thread Tim Hoff
Hi Rick, Make sure that you consider the scope of you primary UI component. Depending on where you are calling the code from, you may have to reference it like parentDocument.mainPanel or Application.application.mainPanel (this one requires - import mx.core.Application). -TH --- In

RE: [flexcoders] Re: Simple way to do Please wait... type window

2006-08-01 Thread Franck de Bruijn
@yahoogroups.com Subject: Re: [flexcoders] Re: Simple way to do Please wait... type window - Original Message - From: JesterXL [EMAIL PROTECTED]n.com To: [EMAIL PROTECTED]ups.com Sent: Tuesday, August 01, 2006 2:26 AM Subject: Re: [flexcoders] Re: Simple way to do Please wait

RE: [flexcoders] Re: Simple way to do Please wait... type window

2006-08-01 Thread Dimitrios Gianninas
@yahoogroups.comSubject: Re: [flexcoders] Re: Simple way to do "Please wait..." type window I'm liking Jesse 'JW' Wardens's suggestion. (If you had a dollar for everyone that noticed that, eh?) But I've been playing with this. I set a bool flag in my model called inProgress. When a co

Re: [flexcoders] Re: Simple way to do Please wait... type window

2006-08-01 Thread Rick Root
Tim Hoff wrote: Make sure that you consider the scope of you primary UI component. Depending on where you are calling the code from, you may have to reference it like parentDocument.mainPanel or Application.application.mainPanel (this one requires - import mx.core.Application). I don't yet

[flexcoders] Re: Simple way to do Please wait... type window

2006-08-01 Thread Tim Hoff
Scope refers to the parent/child relationships of components in an application. For instance a DataGrid may be the parent of an itemRenderer component. However, to access the properties of the DataGrid from inside the itemRenderer, you can't just refer directly to the DataGrid properties

[flexcoders] Re: Simple way to do Please wait... type window

2006-07-31 Thread Tim Hoff
Hi Rick, Here's some code if you're interested: http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=448 -TH--- In flexcoders@yahoogroups.com, Rick Root [EMAIL PROTECTED] wrote: Douglas Knudsen wrote:doh! I thought RemoteObject supported the events, my fault. Could just

[flexcoders] Re: Simple way to do Please wait... type window

2006-07-31 Thread gotgoose09
You could use showBusyCursor=true on your RemoteObject, that's what I do. --- In flexcoders@yahoogroups.com, Rick Root [EMAIL PROTECTED] wrote: what would you all recommend for a simple Please wait.. type of window? Loading.., Searching... etc.. Would you recommend using an alternative

Re: [flexcoders] Re: Simple way to do Please wait... type window

2006-07-31 Thread JesterXL
One way I did it was making a Singleton class that popups up a small TitleWindow. This TitleWindow has a ProgressBar in it. The ProgressBar's indeterminate is bound to the visibility (you don't want it playing while the window is invisible; takes up resources). You can then do:

Re: [flexcoders] Re: Simple way to do Please wait... type window

2006-07-31 Thread Paul Andrews
- Original Message - From: JesterXL [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, August 01, 2006 2:26 AM Subject: Re: [flexcoders] Re: Simple way to do Please wait... type window One way I did it was making a Singleton class that popups up a small TitleWindow

Re: [flexcoders] Re: Simple way to do Please wait... type window

2006-07-31 Thread JesterXL
] To: flexcoders@yahoogroups.com Sent: Monday, July 31, 2006 11:06 PM Subject: Re: [flexcoders] Re: Simple way to do Please wait... type window - Original Message - From: JesterXL [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, August 01, 2006 2:26 AM Subject: Re