# duplicateMovieClip hiccup

**URL:** <https://forum.kirupa.com/t/duplicatemovieclip-hiccup/222723>\
**Category:** flash\
**Created:** [April 16, 2007, 3:53pm UTC](https://forum.kirupa.com/t/duplicatemovieclip-hiccup/222723 "2007-04-16T15:53:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Laalun](https://avatars.discourse-cdn.com/v4/letter/l/e95f7d/32.png) [@Laalun](https://forum.kirupa.com/u/Laalun)\
**Post date:** [April 16, 2007, 3:53pm UTC](https://forum.kirupa.com/t/duplicatemovieclip-hiccup/222723/1 "2007-04-16T15:53:07Z")

</div>

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 🙂
