Question
xml playlist
I need to create a simple video playlist in an xml file. I
have this code that will play some video clips in a row and then
loop to play them over. I need to call the actual video titles
(videos.list[0] = "video/clip1.flv"; , videos.list[0] =
"video/clip2.flv"; etc) from an xml file. Would someone show me how
to change this code:
videos.list = new Array();
videos.list[0] = "video/clip1.flv";
videos.list[1] = "video/clip2.flv";
videos.list[2] = "video/clip3.flv";
videos.list[3] = "video/clip4.flv";
videos.list[4] = "";
videos.list[5] = "";
videos.list[6] = "";
videos.loop = true;
videos.length = 1;
videos.loaded = false;
so that videos.list = new Array(); is populated from an xml file and not hard-coded actionscript? Or does anyone know of a tutorial that shows how to create a simple xml playlist so the player just plays the clips called in the xml file full screen in a loop automatically.
This is for progressive download.
Thanks for any help.
--rayne
videos.list = new Array();
videos.list[0] = "video/clip1.flv";
videos.list[1] = "video/clip2.flv";
videos.list[2] = "video/clip3.flv";
videos.list[3] = "video/clip4.flv";
videos.list[4] = "";
videos.list[5] = "";
videos.list[6] = "";
videos.loop = true;
videos.length = 1;
videos.loaded = false;
so that videos.list = new Array(); is populated from an xml file and not hard-coded actionscript? Or does anyone know of a tutorial that shows how to create a simple xml playlist so the player just plays the clips called in the xml file full screen in a loop automatically.
This is for progressive download.
Thanks for any help.
--rayne
