Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / December 2004



Tip: Looking for answers? Try searching our database.

Synchronous programming

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
aloha_developer - 07 Dec 2004 21:55 GMT
Flash  is asynchronous.  When making a flash remoting service method call flash
does not wait for a response before executing the next  command.  I have a
program that needs to wait for a response from the server.  That is I need the
server to send me the name of the current user after which I call the server
again to return that users information.

 How do I make the initial call to retrieve a user and then wait for the
server to respond before looking up the users data.

I understand how to declare a response object. yet I do not feel it
accomplishes my end goal.
egorlebowski - 10 Dec 2004 22:38 GMT
Look into using EventDispatcher...you can set up your response object to
broadcast an event when it  receives a successful result from the server. A
second object would then listen for this event and make the second server call
from its event handler function...
FF - 10 Dec 2004 22:52 GMT
Mele Kalikimaka Aloha-

I may be assuming too much here, but why not pass back any user information
at the time this user originally logs into application?

> That is I need the
> server to send me the name of the current user after which I call the server
> again to return that users information.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.