1 Reply Latest reply on May 2, 2009 8:30 PM by hawk_sap

    Video does not show up for ns.play("stream", start, len) when start > 0


      I am trying to play a flv file (served by a fms server) using NetStream.play("stream", start, len). It seems that if the first play() call has a non-zero "start" value, (i.e., start playing from the middle), the video does not show up. Does anyone know what happened? Thanks.


      Code snippet:


      var nc: NetConnection = new NetConnection();

      nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);


      // wait for connection success


      var ns: NetStream = new NetStream(ns);

      ns.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);

      ns.client = new CustomClient();


      var video: Video = new Video();



      ns.play("stream", 5, 10);   // video doesn't show up, audio plays