xml playlist
i need create simple video playlist in xml file. have code play video clips in row , loop play them over. need call actual video titles (videos.list[0] = "video/clip1.flv"; , videos.list[0] = "video/clip2.flv"; etc) xml file. show me how change 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 videos.list = new array(); populated xml file , not hard-coded actionscript? or know of tutorial shows how create simple xml playlist player plays clips called in xml file full screen in loop automatically.
this progressive download.
thanks 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 videos.list = new array(); populated xml file , not hard-coded actionscript? or know of tutorial shows how create simple xml playlist player plays clips called in xml file full screen in loop automatically.
this progressive download.
thanks help.
--rayne
set xml file so:
<videos>
<v>video/clip1.flv</v>
<v>video/clip2.flv</v>
<v>video/clip3.flv</v>
<!-- etc -->
</videos>
save videos.xml. actionscript be:
<videos>
<v>video/clip1.flv</v>
<v>video/clip2.flv</v>
<v>video/clip3.flv</v>
<!-- etc -->
</videos>
save videos.xml. actionscript be:
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment