# Referring to current button inside mc

**URL:** <https://forum.kirupa.com/t/referring-to-current-button-inside-mc/177263>\
**Category:** Uncategorized\
**Created:** [January 31, 2006, 4:45pm UTC](https://forum.kirupa.com/t/referring-to-current-button-inside-mc/177263 "2006-01-31T16:45:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![killerwhale65](https://avatars.discourse-cdn.com/v4/letter/k/7ea924/32.png) [@killerwhale65](https://forum.kirupa.com/u/killerwhale65)\
**Post date:** [January 31, 2006, 4:45pm UTC](https://forum.kirupa.com/t/referring-to-current-button-inside-mc/177263/1 "2006-01-31T16:45:51Z")

</div>

hi,

i want to reffer to the current button like:

this.\_xscale …

But the problem is that the above will also execute the function on the movieclip that contains this button. And i dont want this.

Is there another way to reffer to my button or should i just type its instance name?  
It is just that i have a lot of buttons that i have to copy this code to so it would be easier to use a general name instead of replacing the buttons name for each new button.

thanks!
