Sorry for the urgency, but I have a morning deadline today.
Have a series of dynamic textfield on my stage named: usName1 , usName2,
etc.
I am trying to populate specific fields with some text.
I am trying to choose which field is populated dynamically.
(I have hard coded the _root.currentNameNumber for the example below)
_global.c1schoolName = Fenwick;
_root.currentNameNumber = 1;
_root.tempUSname = "usName"+currentNameNumber;
////trying to dynamically choose the text field usName1 this is where
it breaks!
_root.tempUSname.text = _global.c1schoolName;
If I hard code the text box name it works OK
_root.usName1.text = _global.c1schoolName;
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders