Can someone tell me what’s wrong with this actionscript. I’m trying to create an array and then populate some text fields with the values in the array.
var navText:Array = new Array(“What We’re About”, “Quality and Delivery”, “Certifications”, “Samples”, “New Products”);
for (i=0; i<navText.length; i++) {
var elementName:String = “element”++"_mc";
elementName.element_txt.text = navText;
}
When I test the movie, I get the following error:
“There is no property with the name ‘element_txt’.”