How do you name a component as a variable?

All week I’ve been trying to figure out how to get a form I made with Flash MX 2004 to work using PHP and Im pulling out my hair trying to figure it out.

I have 5 TextInput components, 5 ComboBox components and 1 TextArea component.

Their instance names are named like this… mytextinput1, mycombobox1, mytextarea1, etc.

Code seems to need variables instead of instance names and I cannot figure out how to name the components as variables.

Im sort of new at this and I need to figure this out asap, I havent slept in 2 days, so if someone can please help me I would REALLY appreciate it.

I need to know what code needs to be where as far as the first frame of the timeline and what needs to be assigned to my components and submit button.

Thanks