Hello everybody,
I have AS that plays my flvs videos from xml list
var xml:XML = new XML();
xml.ignoreWhite = true;
var flvs:Array = new Array();
xml.onLoad = function() {
var videos:Array = this.firstChild.childNodes;
for(i=0;i<videos.length;i++) {
flvs.push(videos*.attributes.flv);
}
vid.play(flvs[0]);
}
xml.load("videos.xml");
var flvList:Object = new Object();
var count:Number = 0;
flvList.complete = function() {
count ++;
}
vid.addEventListener("complete",flvList);
but I cant get the next video to play as soon as first ends.
any help is appreciate, thanks a lot
Tomi