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");
}
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");
}
Is that the way it should be?