Hi kiran,

popup var type --   private var popup:IFlexDisplayObject;

this.parentApplication should also work fine.


Regards,
Dolly


On Dec 4, 6:49 pm, "kiran singh" <[EMAIL PROTECTED]> wrote:
> Thanks for your reply.
>
> what should i declare popup variable as?
>
> in place of Application.application i used the this.parentApplication
> Waiting for ur reply..
>
> Thanks,
> Kiran Singh
>
>
>
> On Thu, Dec 4, 2008 at 4:49 PM, dolly <[EMAIL PROTECTED]> wrote:
>
> > 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
>
> --
> N.Kiran Singh
> mca
--~--~---------~--~----~------------~-------~--~----~
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