duplicateMovieClip hiccup

Hi,
I’m trying to create a form from a database…got the necessary info into Flash (queried DB, sent the string to Flash, split to array so its handier) and I just need to create the list of radiobuttons according to the list. I’ve duplicated a mc with a radiobutton in.

This is the important bit of what I’ve got so far:

*newname = “RB”+i;
while (i < schemeLength)
{
duplicateMovieClip (_root.RB, newname, i);
[COLOR=SandyBrown]newname.radioButtoni.label = “something”+i;[/COLOR]

     i = i + 1;

}*

Note: schemeLength is the length of the array.

I am stuck on changing the label of the radio button to what i like. which incidentally is the corresponding content in the array.

Tried the orange line but it doesn’t change anything. Hope this is enough info,

thanks in advance,
Sarah :slight_smile: