Text value = _global value

i am basically trying to create an extended contact form with multiple frames. Below is what I have:

frame 1 =

_global.testtext = “blank”;

button.onPress = function(){
_global.testtext = “new text value”;
}

frame 2 =

onEnterFrame = function(){
test.text = _global.testtext;
}

text box still displays “blank”

any help will be greatly appreciated.

Thanks in advance.

Andy