# How to get the name of the currently selected button name?

**URL:** <https://forum.kirupa.com/t/how-to-get-the-name-of-the-currently-selected-button-name/249302>\
**Category:** flash\
**Created:** [January 17, 2008, 12:01pm UTC](https://forum.kirupa.com/t/how-to-get-the-name-of-the-currently-selected-button-name/249302 "2008-01-17T12:01:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![balaji\_r](https://avatars.discourse-cdn.com/v4/letter/b/94ad74/32.png) [@balaji\_r](https://forum.kirupa.com/u/balaji_r)\
**Post date:** [January 17, 2008, 12:01pm UTC](https://forum.kirupa.com/t/how-to-get-the-name-of-the-currently-selected-button-name/249302/1 "2008-01-17T12:01:32Z")

</div>

hi,  
I set the tabIndex for buttons. i want get the button name of the currently selected button. plase help me.
