1 Reply Latest reply on May 29, 2007 8:52 PM by winkinc14

    XML FLV player

    rfkrocktk Level 1

      1000: Unable to make connection to server or to find FLV on server

      Hey all,
      I'm trying to create a XML video player as per lee's tutorial on the site. However, no matter what, I'm always getting that error.
      I have checked my source codes back and forth and my filepaths up and down and back again. In a brand new file, by just copying and pasting code and components, it works! but in my regular movie it doesn't! AHH!

      Here are my code snippets:
      ns = name of FLVPlayer component
      videoList = name of List component


      <?xml version="1.0" encoding="iso-8859-1"?>
      <video url="TITLE01.flv" desc="Lala"/>
      <video url="TITLE02.flv" desc="2"/>
      <video url="TITLE03.flv" desc="3"/>


      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);
      videoList.selectedItem = 0;
      var vidList:Object = new Object();
      vidList.change = function() {
      videoList.addEventListener("change", vidList);

      And because I really really need help for this, here's the link to the zip file containing everything if anyone will help me out here: