Dynamic text

Hi,

I have a problem with a dynamic text field. I have 1 text field on frome 10 which displays text from a text file. This text can change when a button is clicked. I have another text file on frame 20, which i want to display what ever text is in the text filed on frame 10.

I have tried:-

[AS]MyTextboxFrame20.text = MyTextboxFrame10.text;[/AS]
but it doesn’t work.

Does anyone know how i can do this.