# TXT to XML to Flash

**URL:** <https://forum.kirupa.com/t/txt-to-xml-to-flash/217356>\
**Category:** flash\
**Created:** [February 26, 2007, 10:09am UTC](https://forum.kirupa.com/t/txt-to-xml-to-flash/217356 "2007-02-26T10:09:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefchenko](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/stefchenko/32/3357_2.png) [@Stefchenko](https://forum.kirupa.com/u/Stefchenko)\
**Post date:** [February 26, 2007, 10:09am UTC](https://forum.kirupa.com/t/txt-to-xml-to-flash/217356/1 "2007-02-26T10:09:40Z")

</div>

I am trying to load a txt file into flash by putting the url in an xml file. The XML file is structured like this:

```auto

    <pic>
        <image>pictures/AW0001.jpg</image>
        <description>text/AW0001.txt</description>
    </pic>

```

Now I load it into arrays in flash: _image[0]_ and _description[0]_. The images is displayed the way I want to, the thing is I want to pass on the url that is in _description[0]_ to a _loadMovie_ or something like that. If i say _desc\_txt.text = description[0];_ it will just show AW0001.txt in flash. I’ve also tried this with \*load \*and _loadVars_ but I can’t figure it out.

Any help would be appreciated.

Stefchenko
