# Making buttons know

**URL:** <https://forum.kirupa.com/t/making-buttons-know/113868>\
**Category:** Uncategorized\
**Created:** [June 22, 2004, 3:21pm UTC](https://forum.kirupa.com/t/making-buttons-know/113868 "2004-06-22T15:21:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimhere](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jimhere/32/137_2.png) [@jimhere](https://forum.kirupa.com/u/jimhere)\
**Post date:** [June 22, 2004, 3:21pm UTC](https://forum.kirupa.com/t/making-buttons-know/113868/1 "2004-06-22T15:21:48Z")

</div>

I have a button that is actually a Movie Clip (so I can animate it). I want this button to play a sound. (But this isn’t a sound question.)

If I have a list of 20 sounds, and 20 instances of this button mc, how can I make it know which sound is being called for?

If it were a normal button, each instance would have its own load- or attach-movie command. But since they’re MC’s, the invisible button hit is always the same.

Is there a way to make it look to the MC’s instance name to get which sound to load?
