leaveRoom

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

rsnail
Posts: 33
Joined: 04 Nov 2005, 20:19

leaveRoom

Postby rsnail » 18 Jan 2006, 05:56

Is it possible to use an extension to leave a room?

Thanks

rsnail
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 18 Jan 2006, 10:41

the leaveRoom() command allows a user to leave a room if he's inside more than one room at a time. (multiroom mode)

If he's inside one room only he shouldn't leave that room (users should always be present in a room in order to be able to interact with other users)

Is this what you need? Or you mean generically disconnect a user from any room?

The leaveRoom() will be available in the server side extensions framework with SFS 1.4.0
We didn't plan a specific function for generically disconnecting users from any room. If you think it would be useful we may add it to the framework.

Let me know what you think
Lapo
--
gotoAndPlay()
...addicted to flash games
rsnail
Posts: 33
Joined: 04 Nov 2005, 20:19

Postby rsnail » 18 Jan 2006, 15:20

I need the leaveRoom command to allow the user to leave a room if he's inside more than one room at a time. Same as it is now, but in an extension.
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 19 Jan 2006, 06:14

the leaveRoom() server method will be available in the next 1.4.0 beta3 together with other new methods and new features that enhance security and performance.

After that beta we'll produce the necessary documentation and publish the final release.

:)
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “Server Side Extension Development”

Who is online

Users browsing this forum: No registered users and 60 guests