How to build global chat?

Post here your questions about the Flash / Flex / Air API for SFS2X

Moderators: Lapo, Bax

Post Reply
zain
Posts: 26
Joined: 18 May 2010, 08:01

How to build global chat?

Post 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
zain
Posts: 26
Joined: 18 May 2010, 08:01

Post by zain »

look like i found the answer: PublicMessageRequest
http://docs2x.smartfoxserver.com/api-do ... lesSummary
imakeinternet
Posts: 8
Joined: 16 Feb 2011, 18:06
Location: Michigan, USA
Contact:

Post 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.
Post Reply