Shared object question

Hi guys,

I have created a new shared object:


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(){
            = 12;

Is it possible getting the value from an XML file? So the variable 12 would not be hard coded.