HEM! .. I think that you need a flag. A bindable Flag variable.
[Bindable]
public var pending:Boolean = false;
then in a component.
<mx:TextArea enabled="{!pending}"></mx:TextArea>
and.. when you call the server.
SendDataToServer(vo) {
mycomp.pending = true;
}
hours later when the server send the result
onResult(data) {
mycomp.pending = false;
}
--- In [email protected], "Lisa Lee" <[EMAIL PROTECTED]> wrote:
>
> Hi - another "newbie" question, I'm sure but here goes:
>
> I have a Flex app that allow the user to drag and drop an item from one
> box to another. Once they drop the item, both boxes refresh with the
> correct data. Sometimes it can take a few seconds for the boxes to
> refresh. In the meantime, if the user tries to perform another
> drag/drop before the data is refreshed, they get an ugly Flash error.
> Is there a way to make them wait while the data is being processed by
> the back end?
>