Does anyone know how i update some text?

I have a piece of text called "actype" and its initial value is "Test"

onPress of a button inside a sprite I want it to read "Another Test"

The text is set to be "Dynamic Text"

This is the code inside the sprite

on (press) {
_parent.actype.text = "Another Test";

I cant sweem to get this working, can anyone help?