I'm a little new to this -- but I can connect to the server, join rooms, create rooms, and also create room variables... cool. but what i can't seem to do is set user variables. it just brings up errors for me.
in particular:
Code: Select all
TypeError: Error #1009: Cannot access a property or method of a null object reference. ...Code: Select all
var uVars:Object = new Object()
uVars.myAvatar = "Homer"
uVars.posx = 100
uVars.posy = 200
smartFox.setUserVariables(uVars)just puzzled on why setting these user variables is not as straight forward as creating a room and setting room variables.
thanks.