# Trivia game and xml

**URL:** <https://forum.kirupa.com/t/trivia-game-and-xml/84865>\
**Category:** Uncategorized\
**Created:** [March 31, 2005, 1:18am UTC](https://forum.kirupa.com/t/trivia-game-and-xml/84865 "2005-03-31T01:18:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![smack33](https://avatars.discourse-cdn.com/v4/letter/s/eb9ed0/32.png) [@smack33](https://forum.kirupa.com/u/smack33)\
**Post date:** [March 31, 2005, 1:18am UTC](https://forum.kirupa.com/t/trivia-game-and-xml/84865/1 "2005-03-31T01:18:07Z")

</div>

hello…

i am trying to develop a trivia game that pulls questions & answers from an xml file. i have written some code that will parse the q & a from the xml and load it into a dynamic txt field respectively. now i need to somehow make that function be able to cyle through the xml’s list of questions and answers. i am going to track the correct answers with attributes in the xml file so i also need a lil help with that function as well. check out the .fla and xml attached.

any help is greatly appreciatted.  
thanks
