Copy link to clipboard
Copied
quote:
1000: Unable to make connection to server or to find FLV on server
quote:
<?xml version="1.0" encoding="iso-8859-1"?>
<videos>
<video url="TITLE01.flv" desc="Lala"/>
<video url="TITLE02.flv" desc="2"/>
<video url="TITLE03.flv" desc="3"/>
</videos>
quote:
var vlist:XML = new XML();
vlist.ignoreWhite = true;
vlist.onLoad = function(success:Boolean) {
var videos:Array = this.firstChild.childNodes;
for (i=0; i<videos.length; i++) {
videoList.addItem(videos .attributes.desc, videos.attributes.url);
}
ns.play(videoList.getItemAt(0).data);
videoList.selectedItem = 0;
};
var vidList:Object = new Object();
vidList.change = function() {
ns.play(videoList.getItemAt(videoList.selectedIndex).data);
};
videoList.addEventListener("change", vidList);
vlist.load("videoTemplate.xml");
Copy link to clipboard
Copied
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more