autoJoin()
Availability:
Flash Player 6.0
SmartFoxServer Lite / Basic / Pro
Usage:
smartFox.autoJoin()
Description:
Automatically join the the default room (if exist) for the
current zone.
You can specify a default room in the config.xml file by adding the autoJoin="true"
attribute to a room (<Room></Room>)of your choice.
When a room is marked as autoJoin it becomes the default room where all
clients are initially joined when they login successfully.
Parameters:
none |
Returns:
Nothing.
Example:
smartFox.autoJoin()
See also:
join()