2 Replies Latest reply on Oct 19, 2007 11:52 PM by Sam_Victor

    Dynamically change content path of FLVPlayer

    frist44
      I've added a drop down list and would like the content path of the FLVplayer to reflect this change. So far I have :

      var myListener:Object = new Object();
      ddlVideos.addEventListener("change",myListener);

      myListener.change = function(){
      //gotoAndStop(ddlVideos.value);
      player.stop();
      player.contentPath = "media/ACC-" + ddlVideos.value + ".flv";
      player.play();

      }
      I tried the gotoAndStop and that works fine. I traced the string that's going into the contentPath and it's correct, however the player isn't being updated. any ideas?