0 Replies Latest reply on Oct 10, 2006 12:29 PM by fbcojman

    .flv file plays sound, no video

    fbcojman Level 1
      i have added some code for a .flv movie to stream on my site. I used the following code and get sound, but not video. Can someone assist?

      var connection_nc:NetConnection = new NetConnection();
      connection_nc.connect(null);
      var stream_ns:NetStream = new NetStream(connection_nc);
      videoHolder_mc.attachVideo(stream_ns);

      videoStop_btn.onRelease = function () {
      stream_ns.pause(true);
      }
      videoPlay_btn.onRelease = function () {
      stream_ns.play("theVision2.flv");
      }

      scene3Back_btn.onRelease = function (){
      gotoAndPlay("scene1");
      }

      thanks.