# Button MC array

**URL:** <https://forum.kirupa.com/t/button-mc-array/54091>\
**Category:** Uncategorized\
**Created:** [June 10, 2004, 11:27pm UTC](https://forum.kirupa.com/t/button-mc-array/54091 "2004-06-10T23:27:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eze](https://avatars.discourse-cdn.com/v4/letter/e/e79b87/32.png) [@eze](https://forum.kirupa.com/u/eze)\
**Post date:** [June 10, 2004, 11:27pm UTC](https://forum.kirupa.com/t/button-mc-array/54091/1 "2004-06-10T23:27:59Z")

</div>

hey,

This works -

```auto
b1.gotoAndStop("up");

```

But this doesn’t -

```auto
button_array = ["b1"];
for (var i in button_array){
button_array*.gotoAndStop("up");
}

```

button\_array\* should == b1? Hmm.

Thanks is Advance 😃

**N.B**

The above code is on the button frame where all the button\_mc’s will be placed.
