# Xml attribute retrieval

**URL:** <https://forum.kirupa.com/t/xml-attribute-retrieval/245786>\
**Category:** Uncategorized\
**Created:** [December 4, 2007, 2:38am UTC](https://forum.kirupa.com/t/xml-attribute-retrieval/245786 "2007-12-04T02:38:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mixeeplikstick](https://avatars.discourse-cdn.com/v4/letter/m/7ea924/32.png) [@mixeeplikstick](https://forum.kirupa.com/u/mixeeplikstick)\
**Post date:** [December 4, 2007, 2:38am UTC](https://forum.kirupa.com/t/xml-attribute-retrieval/245786/1 "2007-12-04T02:38:46Z")

</div>

im lost here, i would like to ask you guys if you have any idea on how will i be able to retrive an attribute in my xml file everytime i would press a button. example:

xml:  
\<menu\>  
\<label name=“hello” id=“1”/\>  
\</menu\>

---- i want to just display the attribute “id” in a dynamic textbox everytime i press a button in my flash movie.

thanks for the tips in advance.
