I have some problems creating dynamic room.
Code: Select all
var settings:RoomSettings = new RoomSettings("Room");
settings.maxUsers = 6;
sfs.addEventListener(SFSEvent.ROOM_ADD, onRoomAdded);
sfs.addEventListener(SFSEvent.ROOM_CREATION_ERROR, onRoomCreationError);
sfs.send(new CreateRoomRequest(settings));
Also, I have a question. If I create a room from Zone Configurator, it will always be inside a zone. But, if create a room using code (dynamically), I don't have to set what zone it belongs to. So, I wonder what zone it belongs to if I create it dynamically? And can I monitor the room I created dynamically in the Zone Monitor?
Please reply
Regards,