# Pass parameter load different xml in flash

**URL:** <https://forum.kirupa.com/t/pass-parameter-load-different-xml-in-flash/189729>\
**Category:** Uncategorized\
**Created:** [June 5, 2006, 7:19pm UTC](https://forum.kirupa.com/t/pass-parameter-load-different-xml-in-flash/189729 "2006-06-05T19:19:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrx](https://avatars.discourse-cdn.com/v4/letter/m/9de053/32.png) [@mrx](https://forum.kirupa.com/u/mrx)\
**Post date:** [June 5, 2006, 7:19pm UTC](https://forum.kirupa.com/t/pass-parameter-load-different-xml-in-flash/189729/1 "2006-06-05T19:19:53Z")

</div>

how to load different xml files in the movie depend on which file is being selected?

right now i have to put the

myxml.load(“file1.xml”);

how can i have it loads dynamicly
