# Insert XML content inside a flash movie

**URL:** https://forum.kirupa.com/t/insert-xml-content-inside-a-flash-movie/214484
**Category:** flash
**Created:** [January 29, 2007, 1:37pm UTC](https://forum.kirupa.com/t/insert-xml-content-inside-a-flash-movie/214484 "2007-01-29T13:37:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![basscadet](https://avatars.discourse-cdn.com/v4/letter/b/ecae2f/32.png) [@basscadet](https://forum.kirupa.com/u/basscadet)
#### Post date: [January 29, 2007, 1:37pm UTC](https://forum.kirupa.com/t/insert-xml-content-inside-a-flash-movie/214484/1 "2007-01-29T13:37:38Z")

</div>

Hello,  
I have a flash mp3 player that I want to embed in a page and I need to insert the data of two external .xml files in an action inside the first frame (there are some server limitations that don’t allow reading of external xml, txt and js files). The action I have now is:

```auto
 if (!_root.playlisturl) {
    _root.playlisturl = "playlist.xml";
}
if (!_root.infourl) {
    _root.infourl = "info.xml";
}

```

so, what I want to do is paste the contents of those two .xml files inside my Flash movie somewhere so the above script accesses them directly and does not have to call outside files. Is there a tutorial somewhere that outlines this procedure? I know that this is the contrary from what .xml is used for but I can’t do much now… Thanks in advance.
