Creating, naming and accessing movie clips dynamically in AS3

[COLOR=black][FONT=Verdana]I have a menu I wrote in AS2 where the menu items are pulled from an XML file. The values for the menu list are written to a text field which is located within a movie clip since there are rollover, rollout and click actions for each one of the menu items.[/FONT][/COLOR]
[COLOR=black][FONT=Verdana] [/FONT][/COLOR]
[COLOR=black][FONT=Verdana]The code loops through the XML nodes and duplicates the movie clip with the text field for each XML node. The menu item movie clips are created within a movie clip, which is contained inside another movie clip.[/FONT][/COLOR]
[COLOR=black][FONT=Verdana] [/FONT][/COLOR]
[COLOR=black][FONT=Verdana]In AS2, I have been able to do this with relative ease either writing the movie clips to an array or using the eval function. I’m naming and accessing the clips dynamically by calling them “movieclip” + i within the loop that gets the XML nodes:[/FONT][/COLOR]
[COLOR=black][FONT=Verdana] [/FONT][/COLOR]
[COLOR=black][FONT=Verdana] [/FONT][/COLOR]
[COLOR=black][FONT=Verdana]for (var i=1; i < slide.length; i++) { [/FONT][/COLOR]
[COLOR=black][FONT=Verdana] menuPanelMC.panelContentMC.attachMovie(“content”, “content” + i, i);[/FONT][/COLOR]
[COLOR=black][FONT=Verdana] slideName = slide*.firstChild.firstChild;[/FONT][/COLOR]
[COLOR=black][FONT=Verdana] eval(“menuPanelMC.panelContentMC.content” + i + “.menuOverMC”)._alpha = 0;[/FONT][/COLOR]
[COLOR=black][FONT=Verdana] eval(“menuPanelMC.panelContentMC.content” + i).fieldName.text = slideName; [/FONT][/COLOR]
[COLOR=black][FONT=Verdana]}[/FONT][/COLOR]
[COLOR=black][FONT=Verdana] [/FONT][/COLOR]
[COLOR=black][FONT=Verdana]I realize I could do this with an array as well, but this works fine for what I’m doing here.[/FONT][/COLOR]
[COLOR=black][FONT=Verdana] [/FONT][/COLOR]
[COLOR=black][FONT=Verdana]I am trying to upgrade this code for AS3. This should be simple to do, but it isn’t.[/FONT][/COLOR]
[COLOR=black][FONT=Verdana] [/FONT][/COLOR]
[COLOR=black][FONT=Verdana]I have tired different variations – which all tend to look something like this:[/FONT][/COLOR]
[COLOR=black][FONT=Verdana] [/FONT][/COLOR]
[COLOR=black][FONT=Verdana]for each (var sectionElement:XML in sectionList) {[/FONT][/COLOR]
[COLOR=black][FONT=Verdana][/FONT][/COLOR]
[COLOR=black][FONT=Verdana]i++; [/FONT][/COLOR]
[COLOR=black][FONT=Verdana] [/FONT][/COLOR]
[COLOR=black][FONT=Verdana]var newClip:MovieClip = new MovieClip();[/FONT][/COLOR]
[COLOR=black][FONT=Verdana]newClip.name = “content” + i;[/FONT][/COLOR]
[COLOR=black][FONT=Verdana]clips* = newClip;[/FONT][/COLOR]
[COLOR=black][FONT=Verdana] [/FONT][/COLOR]
[COLOR=black][FONT=Verdana]menuPanelMC.panelContentMC.addChild(clips*); [/FONT][/COLOR]
[COLOR=black][FONT=Verdana]}[/FONT][/COLOR]
[COLOR=black][FONT=Verdana] [/FONT][/COLOR]
[COLOR=black][FONT=Verdana]No matter how I try and get this to work, I get all kinds of errors. It seems to be putting something in the array, but when I try to do this:[/FONT][/COLOR]
[COLOR=black][FONT=Verdana] [/FONT][/COLOR]
[COLOR=black][FONT=Verdana]menuPanelMC.panelContentMC.clips*.fieldName.name = whatever the XML node is;[/FONT][/COLOR]
[COLOR=black][FONT=Verdana] [/FONT][/COLOR]
[COLOR=black][FONT=Verdana]It doesn’t work. [/FONT][/COLOR]
[COLOR=black][FONT=Verdana] [/FONT][/COLOR]
[COLOR=black][FONT=Verdana]I am at a total loss here, but obviously I am doing something seriously wrong.[/FONT][/COLOR]
[COLOR=black][FONT=Verdana] [/FONT][/COLOR]
[COLOR=black][FONT=Verdana]Any help would be greatly appreciated.[/FONT][/COLOR]