Hi,

I am (re-)writing an app that uses an XML socket to communicate with a server for sending commands and receiving messages calling various remote functions, etc.

Because of the asynchronous nature of the server, what is the best way of making sure the command results get sent back to the corresponding caller? I looked into the RPC classes in Flex, but I am stuck on Flash for this project, so am looking for similar stuff in Flash, e.g. what would have been "callbacks" in AS2. It seems that event listeners are a bit heavyweight here because I only ever want to call a single function in response to a single command rather than broadcast the result to every potential caller... Any tips / ideas would be welcome, thanks.

   Glen
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to