# Loading seperate XML files

**URL:** <https://forum.kirupa.com/t/loading-seperate-xml-files/264760>\
**Category:** flash\
**Created:** [June 30, 2008, 8:42am UTC](https://forum.kirupa.com/t/loading-seperate-xml-files/264760 "2008-06-30T08:42:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![grin](https://avatars.discourse-cdn.com/v4/letter/g/aca169/32.png) [@grin](https://forum.kirupa.com/u/grin)\
**Post date:** [June 30, 2008, 8:42am UTC](https://forum.kirupa.com/t/loading-seperate-xml-files/264760/1 "2008-06-30T08:42:57Z")

</div>

Hi all! 🙂  
This problem has been bugging me for a while. I’m familiar with flash scripting but I was wondering if anyone could possibly tell me how I would load a seperate XML file using AS2 and Flash 8. Basically I’m looking to do a football/soccer results archive for each season of my local football/soccer team with lineups, attendance, referee and picture of the match programme etc. Ideally I could use a combobox to load a different season using an XML file then a list of the matches would load onto the page and by clicking on the match in the list it would load a match report scene with seperate XML for each match. I’ve been looking for examples…

[http://www.clubatleticodemadrid.com/en/primerequipo/ultimopartido.asp](http://www.clubatleticodemadrid.com/en/primerequipo/ultimopartido.asp)  
[http://flash2007.sport.repubblica.it/sport/campionato2007/index.swf](http://flash2007.sport.repubblica.it/sport/campionato2007/index.swf)

The 2nd example would be the best one as it doesn’t use any ? characters in the URL. The ‘GIOCATORI’ section but I could alter the player profile to be a match report without a problem.

Thanks in advance and I hope someone can please help me. 🙂  
Cheers  
Shaun

---

<div class="post-metadata">

**Author:** ![randomagain](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@randomagain](https://forum.kirupa.com/u/randomagain)\
**Post date:** [June 30, 2008, 9:37am UTC](https://forum.kirupa.com/t/loading-seperate-xml-files/264760/2 "2008-06-30T09:37:56Z")

</div>

its easily do able, you’ll have to call the xml relevant names, 08\_06\_05\_seson2.xml or the like

then when you click a section, it knows, yearvar:08, month:06,Day:08 sticks them in a variable then loads in the relivant xml

again when you click a match/player, it would have to do the same thing

…

easy peasy!.. what?

---

<div class="post-metadata">

**Author:** ![nite21](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@nite21](https://forum.kirupa.com/u/nite21)\
**Post date:** [July 3, 2008, 2:25pm UTC](https://forum.kirupa.com/t/loading-seperate-xml-files/264760/3 "2008-07-03T14:25:55Z")

</div>

over
