Expand my Community achievements bar.

Chat Room

Avatar

Level 1
I have a chat application. When a new user signs in the chat
screen is blank. Is it possible to retrieve the last X number of
lines of chat from the server via consumer or producer in
flex?
1 Reply

Avatar

Former Community Member
Properly you need to create your own custom adapter (assuming
you use messaging) to store the last XX number of messages



Then when a user logs you setup a remote object to retrieve
the last number of messages from the server, and continue as
normal.



I am not sure if you can push a single message from a adapter
to a single client only, that's why I was thinking doing that last
XX number of items with a remote object.



Ries