first I made as described in Example:
Code: Select all
sVars.push(new SFSRoomVariable("variable1", "1"));
sVars.push(new SFSRoomVariable("variable2", "2"));
sVars.push(new SFSRoomVariable("variable3", "3"));
sfs.send( new SetRoomVariablesRequest(sVars));
...
...
private function onRoomVarsUpdate(evt:SFSEvent):void
{
trace("onRoomVarsUpdate");
}
and no response
but if to do so:
Code: Select all
sVars.push(new SFSRoomVariable("variable1", "1"));
sVars.push(new SFSRoomVariable("variable2", "2"));
sVars.push(new SFSRoomVariable("variable3", "3"));
sfs.send( new SetUserVariablesRequest(sVars));
...
...
private function onUserVarsUpdate(evt:SFSEvent):void
{
trace("onUserVarsUpdate");
}
then the answer is, and variables are displayed on the server on user
Is that the way it should be?