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]
] 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
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 =)
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
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 =
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
--- 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
- 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
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:
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
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
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.
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
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
@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
@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
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
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
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
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
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:
- 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
]
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
23 matches
Mail list logo