# Using MC names from an array in another movieclip?

**URL:** <https://forum.kirupa.com/t/using-mc-names-from-an-array-in-another-movieclip/83685>\
**Category:** Uncategorized\
**Created:** [March 21, 2005, 2:18pm UTC](https://forum.kirupa.com/t/using-mc-names-from-an-array-in-another-movieclip/83685 "2005-03-21T14:18:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![keitai](https://avatars.discourse-cdn.com/v4/letter/k/73ab20/32.png) [@keitai](https://forum.kirupa.com/u/keitai)\
**Post date:** [March 21, 2005, 2:18pm UTC](https://forum.kirupa.com/t/using-mc-names-from-an-array-in-another-movieclip/83685/1 "2005-03-21T14:18:14Z")

</div>

Not sharp, here.

I got the following

array

btns\_tellBox = [“friends\_name”,“friends\_email”,“your\_name”];

```auto

function initData()
//based on lang
{
for (i=0;i<3;i++) {
btn = _root.btns_tellBox*;
//tried btn = _root[btns_tellBox*];
mc_tell.btn.onSetFocus = function() {
....
....

```

but btn isn’t working.

If I just replace btn with the corresponding MC (names) it works

What is the deal?
