Script inside a text box

Hi, to make a long story short dont start asking why and etc.

Is there a code to use a script thats inside a text box?
Lets say I have a text box in the same frame as my player is. And I want flash to send the text to the script.

Heres an example: I have an dynamic text field with a code, for example like this one;


But this script wont work until I click on my player then F9 and paste it inside, so what I want is: to make Flash to copy text from text field and paste it inside script of the player. Is it possible? If so, how?