Hi, I want add a new SharedObject for private chat.
I store user's age in a variable:
age = _root.age.text;
I send this variable (age) to server:
// Connect to the application
client_nc.connect("rtmp:/flashdb", username.text, age);
//Store username and move to Main screeen
client_nc.setUser = function(name) {
_global.username = name;
gotoAndStop("Main");
};
Now, how I store a variable in SharedObject?
Thanks