1 Reply Latest reply on Nov 7, 2006 7:15 AM by winklet

    loading a FLV file into Flash?

    winklet Level 1
      I'm trying to load a FLV file into Flash (swf) file and it is only loading the audio, and not the video.
      This is the code I have entered:

      nc=new NetConnection();
      nc.connect(null);

      ns=new NetStream(nc);
      my_video.attachVideo(ns);
      ns.setBufferTime(0);
      ns.play("sampleFLV.flv");

      And the page can be seen at http://www.winkletwebdesign.com/temp022wt/

      You'll see that only the music starts playing and the video can not be seen. I downloaded a shareware flv player and have verified that there is video on this flv file so I don't think the problem is with the flv file.

      Any help or suggestions you can provide would be appreciated.