Moving a variable out of a movie

Hi,

I hope you can help me. I expect it’s a straight forward question.

I’m using a Flash accordion component. This component is made of movies and includes text boxes whiach people can enter locations into.

These values are process on the main stage on the click of a button.

My question is, how do i get the value that was entered in the accordion movies into a variable on the main stage that the can be used.

At the moment i have a text box on the page, and have added this code to the first frame. Although i think the value is reserverd for use with the accordion movie and cant be accessed on the main stage.

keyword = varkeyword

Any help or advice is gratefully recieved.

Thanks