What happened to SFSEvent.ROOM_LEFT ? :)

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

Moderators: Lapo, Bax

Post Reply
Fraggle
Posts: 62
Joined: 02 Apr 2010, 06:41
Location: Paris, France

What happened to SFSEvent.ROOM_LEFT ? :)

Post by Fraggle »

Hi,

This event seems to have disappeared from the API.
I was using it to detect when user is removed from the room by the server to change client state.
I can change my logic, but I'm wondering if I'm missing something there ?

Thanks,

Sebastien
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

You should use the SFSEvent.USER_EXIT_ROOM event.
It is fired when:
- the current user leaves the current Room;
- another user leaves the Room in which the current user is.
Paolo Bax
The SmartFoxServer Team
Post Reply