What do you get back, an error or?
Notice that you will get an error when testing locally!
The system does not really work outside nonoba or the nonoba game wrapper.
Here is my little test file for seeing if everything is working http://nonoba.com/chris/api-test and it returns success on setUserData, hence the system is working.
Contestar al tema
Regístrate ahora para responder a éste tema
ia.studio dijo
hace mucho tiempo | Publicación #1import Nonoba.api.*
NonobaAPI.SetUserData(stage, "ia_123", "asde", function(response:String){
switch(response){
case NonobaAPI.SUCCESS:{
trace("Data successfully stored on the server.")
break;
}
case NonobaAPI.NOT_LOGGED_IN:{
trace("The user is not logged in.")
break;
}
case NonobaAPI.ERROR:{
trace("An error occurred.")
break;
}
}
})