# Flash 8 / xml?

**URL:** <https://forum.kirupa.com/t/flash-8-xml/254774>\
**Category:** Uncategorized\
**Created:** [March 15, 2008, 4:18am UTC](https://forum.kirupa.com/t/flash-8-xml/254774 "2008-03-15T04:18:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Utech22](https://avatars.discourse-cdn.com/v4/letter/u/f17d59/32.png) [@Utech22](https://forum.kirupa.com/u/Utech22)\
**Post date:** [March 15, 2008, 4:18am UTC](https://forum.kirupa.com/t/flash-8-xml/254774/1 "2008-03-15T04:18:10Z")

</div>

I made 4 simple animated swf files, then created an xml and want them to load  
dynamically into a flash. Then display them in a webpage.

```auto
 
<?xml version="1.0" encoding="ISO-8859-1"?>
<videos>
<video url="movie1.swf" caption="Video 1" />
<video url="movie2.swf" caption="Video 2" />
<video url="movie3.swf" caption="Video 3" />
<video url="movie4.swf" caption="Video 4" />
</videos>

```

I dont know the as2 script to use in flash only to define the xml:  
[COLOR=blue]var x:XML = new XML(); [/COLOR]  
[COLOR=blue]x.ignoreWhite = true;[/COLOR]

First I would like to:

1. Play movie1.swf,movie2.swf,movie3.swf then movie4.swf on a page  
in a loop.

I would add more swf when updating the page.
