1.Make a viewstack.

2.Put an indeterminate progressbar in the first viewpane

3.Put your application in the second viewpane.

4.In your eventhandler for the remote call, active the second viewpane when the answer of the call returns.

 

Jeroen.

 


Van: raghu2707 [mailto:[EMAIL PROTECTED]
Verzonden: maandag 21 maart 2005 13:46
Aan: [email protected]
Onderwerp: [flexcoders] Waiting for a remote call during application initialization

 


Hi,

Can anyone please help me with this:

I need to wait for a remote call to finish before i proceed for laying
out my components. Based on the data that is recieved from
the remote call certain components are to enabled or disabled.
I believe, all the remote calls are asynchronous in Flex and to add
synchronous behaviour to this one work around is to have a
onResult function and then having the logic there.

But how to do if the application initialization has to start with the
call to a remote method, wait for the response and then proceed further.

Thanks,
Raghu





Deze e-mail en alle gekoppelde bestanden zijn officiele documenten van het Gemeentelijk Havenbedrijf Antwerpen en kunnen vertrouwelijke of persoonlijke informatie bevatten. Gelieve de afzender onmiddellijk via e-mail of telefonisch te verwittigen als u deze e-mail per vergissing heeft ontvangen en verwijder vervolgens de e-mail zonder deze te lezen, te reproduceren, te verspreiden of te ontsluiten naar derden. Het Gemeentelijk Havenbedrijf Antwerpen is op geen enkele manier verantwoordelijk voor fouten of onnauwkeurigheden in de inhoud van deze e-mail. Het Gemeentelijk Havenbedrijf Antwerpen kan niet aansprakelijk gesteld worden voor directe of indirecte schade, verlies of ongemak veroorzaakt als gevolg van een onnauwkeurigheid of fout in deze e-mail. [GHA#Disclaimer]


Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to