Hi guys,
I have created a new shared object:
mySharedObject=SharedObject.getLocal(“userData”);
I just would like to know when creating a new stored value, can you assign this value dynamically.
For instance when the user presses a button instead of having:
scorebut.onPress = function(){
mySharedObject.data.score = 12;
}
The variable 12 would not be hard coded. This value could be parsed from an XML file? Thanks in advance.