i have been using a pop-up with "loading" on progress for this
purpose.  i copied this code from some site..

on making a call to remote server -
onLoad()
{
   ------rest of the code------
   popup = PopUpManager.createPopUp(Application.application as
DisplayObject, ShowProgress, true);
   PopUpManager.centerPopUp(popup);
}

OnResult()
{
   -----rest of the code -------
   PopUpManager.removePopUp(popup);
}


ShowProgress.mxml
~~~~~~~~~~~~~~~

<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml";
title="Talking to server" >
  <mx:Script>
  <![CDATA[
    private function init() : void
    {
      progress.setProgress(1, 0); // to start progress indicator when
indeterminate
    }
  ]]>
  </mx:Script>
  <mx:ProgressBar id="progress" mode="manual" indeterminate="true"
creationComplete="init()"/>
</mx:TitleWindow>




On Dec 4, 12:31 am, "Subeesh Arakkan" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> You can also show a modal popup with the loading image while making the
> remote call and remove the popup after the remote call is complete.
>
> Subeeshhttp://subeesh.co.nr
>
> On Wed, Dec 3, 2008 at 9:46 PM, Venkat Viswanathan <[EMAIL PROTECTED]>wrote:
>
> > Hi Karan,
>
> > Place a Canvas (or HBox or VBox) with height and width as 100% as the last
> > tag inside the application tag. Inside this container, you can place the
> > loading image. To give the disabled effect, u can set a white background and
> > backgroundAlpha to something like 20-30.
>
> > Then you can set its "visible" property to true and false as required.
>
> > Regards,
> > Venkat
> >www.venkatv.com
>
> > On Wed, Dec 3, 2008 at 7:55 PM, kiran singh <[EMAIL PROTECTED]> wrote:
>
> >> Can anyone Suggest me an example or document link, how we disable
> >> the screen and display loading image on the screen while we connect to
> >> remote and disable the loading image after returning to client side.
>
> >  > Kiran Singh
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to