When "second user" joins the room, if I go:
var userVars:Array = firstUser.getVariables();
trace(userVars.length); // 0
However, if I go:
trace(firstUser.getVariable("x")); // 106
... I get a value!
So, while my variables are there for existing users like I expect, the getVariables function claim's they aren't, but I can clearly see them in the debug XML as well as when I use the getVariable function on known types.
Here is the XML:
[ RECEIVED ]: <msg t='sys'><body action='joinOK' r='26'><pid id='0'/><vars /><uLs r='26'><u i='49' m='0'><n><![CDATA[JEsterXL]]></n><vars><var n='y' t='n'><![CDATA[58]]></var><var n='x' t='n'><![CDATA[106]]></var></vars></u><u i='51' m='0'><n><![CDATA[Cooooow]]></n><vars></vars></u></uLs></body></msg>, (len: 288)
Keep in mind, getVariables DOES work when both users are connected, and I use it in onUserVariablesUpdate.
Bug?
Windows XP, SP2, Smart Fox Server 1.4.0, Flex 3 Beta 2