Making text fields in actionscript... hard stuff... please help

ok, so im making a profile sort of thing, basically what happens is:

you start the program…

it loops, and generates 500 text fields, it stores them in an array called profile_name[];
it names them "Profile + (i+1) (i being the var used in the loop)
changes the colour to yellow, changes the size to 13
removes the border from it
makes it unselectable (the text)

It then converts the text into a movie clip (as if you made a dynamic text area, on the stage, and clicked it, and pressed f8, and converted to mc)
it stores that in an array called profile_mcs[]

**Question 2:

**I need a way to access the text inside the movie clip in both they’re arrays…
Example

If you go to your flash stage, make some dynamic text, call it “ptxt1”, you make it unselectable, remove any border if it has one…

you name the text “test”,
you select it, press f8, then convert to a movie clip called “test_text”
you name it “pbtn1” (the instance name I mean, when I say name)

if you go to the first frame of your main timeline and press f9 (action script section)

type

pbtn1.test.text = “NEW TEXT”, it will name the text “test” inside the mc “pbtn1” to NEW TEXT…

However, if you store them into an array (both text and mc) you can no longer reference them like this

MyMC_Array[0].MYText_Array[0].text = “NEW TEXT”, it doesn’t show up, and making 500 if statements is to much

NOTE (I am a noob, but I think my problem may be when I traced my dynamic text inside the movie clip(that i’ve made on the stage :frowning: ) it appears as undefined, my code would look like this

var profile_name:Array (my text var) = [ptxt1, ptxt2, ptxt3, etc..];

i’ve tried doing

var profile_name:Array = [pbtn1.ptxt1, pbtn2.ptxt2]; etc..

None works,

The honest problem is “I can’t get this working” and I need your help
PLEASE help, im desperate