keep textField instance name in an array
Posted on 2011-02-25
I have three movieClip in the library and each contain different number of text filed boxes. The textfield instances are all named box1-box2..... They are in the library and not on the stage.
I have an XML file which is updatable and contains the value for these textfileds. Now base on the number of the text fields value I read from XML file, I pick one of these movieClips from the library and add it to the stage. I want to use a loop, using the number of valu in XML file, and give give the value to the textfiled using their instance names.
so far nothing worked out for me. I tried using array but no success.
What do you think I should do?