Answered
flash cs6 - local store for android app
How can I local store something (like a highscore) with my android app ? (written with flash cs6) ?
SharedObjects doesn't really work...
How can I local store something (like a highscore) with my android app ? (written with flash cs6) ?
SharedObjects doesn't really work...
try:
var sharedObject:SharedObject;
sharedObject = SharedObject.getLocal('trtrtrtrtrtr');
if(sharedObject.data.userName){
// display data in a textfield to confirm your so worked.
} else {
sharedObject.data.userName = "msmsmsmsmsmsmsm";
sharedObject.data.age = 24;
sharedObject.flush();
}
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.