# \[as2\] Read specific field in XML if i press a specific buton

**URL:** <https://forum.kirupa.com/t/as2-read-specific-field-in-xml-if-i-press-a-specific-buton/319873>\
**Category:** Uncategorized\
**Created:** [March 7, 2011, 3:08pm UTC](https://forum.kirupa.com/t/as2-read-specific-field-in-xml-if-i-press-a-specific-buton/319873 "2011-03-07T15:08:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![svimp](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@svimp](https://forum.kirupa.com/u/svimp)\
**Post date:** [March 7, 2011, 3:08pm UTC](https://forum.kirupa.com/t/as2-read-specific-field-in-xml-if-i-press-a-specific-buton/319873/1 "2011-03-07T15:08:19Z")

</div>

Hello , so i need to make a flash that will do the next things.

if user press button “x” on the next frame should display “x” text from a xml.

if user press button “y” on the next frame should display “y” text from a xml.

and so on…

can anyone provide me some infos , tnx !
