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.
<?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:
- 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.