Trying to pass text from form text field to a flash dynamic text field

Hi, I was hoping someone might enlighten me as to how/if I can do this…

Currently I’m using javascript which works fine to pass text from textfield A to textfield B:

window.onload=function()
{
document.forms.form1.shirtText.value=document.forms.form1.KitGroupID_16_TextOption_38.value
}

Is there a way to pass the textfield A text to a dynamic text input (flash) as I’d like to use the font embedding flash offers. I can make it work when loading a value from a txt file but I’m not sure how to access the value identified above as KitGroupID_16_TextOption_38 and make it appear in a dynamic input box. Eventually I might want to have 3 font choices for the user but I’d like to just see if I can get this working properly first.

Your help/advice would be greatly appreciated,

-Scott