# Getting the selected items

**URL:** <https://forum.kirupa.com/t/getting-the-selected-items/292648>\
**Category:** Uncategorized\
**Created:** [July 16, 2009, 11:27pm UTC](https://forum.kirupa.com/t/getting-the-selected-items/292648 "2009-07-16T23:27:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mac345](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@mac345](https://forum.kirupa.com/u/mac345)\
**Post date:** [July 16, 2009, 11:27pm UTC](https://forum.kirupa.com/t/getting-the-selected-items/292648/1 "2009-07-16T23:27:44Z")

</div>

hi…i am have a small doubt in actionscript, i think its a silly one but banging head to solve it…  
If there are some items present on a panel and if i select one of them then how can i get the id or name of that particular selected item.  
For example if there are two accordions and if i select one, how can i get the id or name of that selected accordion.  
Any help is appreciated.

Thanks
