OpenAMF Chat Room - Server Callbacks
Dan Hardiker <[email protected]>
| Newsgroups | gmane.comp.java.openamf.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am attempting to build a simple Flash chat room which connects to a OpenAMF Gateway and then has messages broadcast to it. I have managed to use the examples to build a client which polls the server for new messages, however this is very wasteful. I have been told that through the use of Remote Shared Objects I can have the clients listen & update the RSO and the server can do the same - thus all clients with that RSO will be updated. Effectively I have a onNewMessage(string) function in my flash movie which I want to be called when new messages come in so I can update the display I have tried searching around the source, limited documentation and the net to no avail - I apologise if this has been answered somewhere Ive not thought of looking. Any ideas on this? ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click