3 Replies Latest reply on Sep 10, 2007 5:26 AM by FlashAmit

    Flv playback

    FlashAmit Level 1
      I am making an application to play flvs using FMS stored in the FMS aplication.

      For this I created an aplication named "abCom" in <FMS install directory>/application/abCom. And copied a file "video19.flv" in <FMS install directory>/application/abCom/sharedobjects/_definst_. Created an instance of video named "myAudio" on the stage. Now I wrote following lines in the flash
      _root.instanceName = "abCom";
      _root.main_nc = new NetConnection();
      var stream_ns:NetStream = new NetStream(main_nc);
      _root.main_nc.onStatus = function(info) {
      trace("onStatus = "+info.code);
      if (info.code == "NetConnection.Connect.Success") {
      _root.promptMediaConnect._visible = false;
      trace("Connect successful."+_root.instanceName);
      } else if (info.code == "NetConnection.Connect.Failed") {
      _root.promptMediaConnect._visible = true;
      trace("Unable to connect.");

      The flash media admin shows in the log as connected. But the stream is not playing.

      Please help.............