A level problem?

Hi people!! I’m allways saying the same: sorry about my english :wink:

Well… I’m using the MovieClipLoader to load the contents of my website. There’s a swf preload too, that works fine :wink: Some SWF’s are loading dinamically text and images, and I don’t have any problem with that.

Looking some FLV players with XML playlist, I’m trying to use something like that BUT I’m having some problems: when I load my flvplayer.swf, the playlist is blank. It’s not loading my playlist, video info, etc… If I access on the browser my flvplayer.swf all the stuff works fine.

Some AS :wink:

My [COLOR=blue]interface.swf[/COLOR]

 
biobutton.onRelease = function() {
 loader._visible = true;
 mcl.loadClip("bio.swf",holder);
}
flvplayerbutton.onRelease = function() {
 loader._visible = true;
 mcl.loadClip("flvplayer.swf",holder);
}

My [COLOR=blue]flvplayer.swf[/COLOR]

 
var vlist:XML = new XML();
vlist.ignoreWhite = true;
vlist.onLoad = function() {
 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.selectedIndex = 0;
}
 
var vidList:Object = new Object();
vidList.change = function() {
 ns.play(videoList.getItemAt(videoList.selectedIndex).data);
}
videoList.addEventListener("change",vidList);
vlist.load("videos.xml");
videoList.setStyle("selectionColor",0xCCCCCC);
videoList.setStyle("textSelectedColor",0x000000);
videoList.setStyle("rollOverColor",0xCCCCCC);

Thanks a lot for the help :wink:

Edu