# Radiobutton duplication problems (easy)

**URL:** <https://forum.kirupa.com/t/radiobutton-duplication-problems-easy/62660>\
**Category:** Uncategorized\
**Created:** [August 30, 2004, 11:30am UTC](https://forum.kirupa.com/t/radiobutton-duplication-problems-easy/62660 "2004-08-30T11:30:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bape](https://avatars.discourse-cdn.com/v4/letter/b/ed655f/32.png) [@bape](https://forum.kirupa.com/u/bape)\
**Post date:** [August 30, 2004, 11:30am UTC](https://forum.kirupa.com/t/radiobutton-duplication-problems-easy/62660/1 "2004-08-30T11:30:18Z")

</div>

Hi, i have one radiobutton component on my stage, which i wish to duplicate via actionscript. After that it needs to set the label etc. here is my code:  
(radio1 is the radiobutton on my stage)

```auto

i=2;
radio1.duplicateMovieClip("radio"+i, radio1.getNextHighestDepth(), {_x:20, _y:20});
_root["radio"+i].setLabel("test");
i++

```

the only problem i have is the naming of the movie and then editing its properties. I found this [“radio”+i] but it doesnt seem to work. What is the proper way to do this?
