How do you target variables?

I have a Movie clip that has a dynamic text field. I want to give it a number so that another movie clip can use that value.

It works on Flash MX but not in Flash 8.

Please Help