# Load external XML file & reuse same swf

**URL:** <https://forum.kirupa.com/t/load-external-xml-file-reuse-same-swf/173935>\
**Category:** flash\
**Created:** [December 31, 2005, 3:20am UTC](https://forum.kirupa.com/t/load-external-xml-file-reuse-same-swf/173935 "2005-12-31T03:20:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Newbie\_Coder](https://avatars.discourse-cdn.com/v4/letter/n/c6cbf5/32.png) [@Newbie\_Coder](https://forum.kirupa.com/u/Newbie_Coder)\
**Post date:** [December 31, 2005, 3:20am UTC](https://forum.kirupa.com/t/load-external-xml-file-reuse-same-swf/173935/1 "2005-12-31T03:20:18Z")

</div>

Okay, I have one SWF file that I want to reuse and I want to load external XML files with it, is it possible to do something like this in the HTML:

```auto
<EMBED src="mymovie.swf?myFile=text1.xml" ...

```

then in the actionscript, get the file with something like this:

```auto
xmlData.load(myFile);

```

then reuse the same SWF on different HTML pages, ex:

```auto
<EMBED src="mymovie.swf?file=text2.xml" ...

```

Is this possible?
