Page 1 of 1

How to build global chat?

Posted: 16 Jun 2011, 00:54
by zain
I want to create global chat while a user join in a room
but, i don't want send unused variable to global chat(like my avatar's position). can i send a SetUserVariablesRequest() to only one of my multi joined room?

i'm using as3.0 and sfs2x

thx

Posted: 16 Jun 2011, 02:06
by zain
look like i found the answer: PublicMessageRequest
http://docs2x.smartfoxserver.com/api-do ... lesSummary

Posted: 27 Jun 2011, 20:44
by imakeinternet
zain wrote:look like i found the answer: PublicMessageRequest
http://docs2x.smartfoxserver.com/api-do ... lesSummary
This would suit your purpose most certainly. Send the event from the server to the client, attach a listener in your client for this event, and have it update your global message component.