# Flash/Actionscript 3 - import/embed XML file for export?

**URL:** <https://forum.kirupa.com/t/flash-actionscript-3-import-embed-xml-file-for-export/331082>\
**Category:** flash\
**Created:** [May 13, 2013, 5:18am UTC](https://forum.kirupa.com/t/flash-actionscript-3-import-embed-xml-file-for-export/331082 "2013-05-13T05:18:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rubyx](https://avatars.discourse-cdn.com/v4/letter/r/c67d28/32.png) [@Rubyx](https://forum.kirupa.com/u/Rubyx)\
**Post date:** [May 13, 2013, 5:18am UTC](https://forum.kirupa.com/t/flash-actionscript-3-import-embed-xml-file-for-export/331082/1 "2013-05-13T05:18:30Z")

</div>

[h=1][FONT=Arial]How do I import or embed an XML file so I can export a 100% independent SWF? My project reads an external XML file for text fields and images. When I export the SWF, none of the images/text will show unless I have the XML file in the same directory. I want a 100% independent SWF without the need for the XML.[/FONT]  
[FONT=Arial]Thanks.[/FONT]  
[/h]
