1 Reply Latest reply on Feb 14, 2007 2:18 PM by derobinson

    What video formats??

    BobAchgill
      Using the code below I can only play FLV video format. Is that correct or does Flash Script let you play other video formats?

      var my_video:Video; // my_video is a Video object on the Stage
      var my_nc:NetConnection = new NetConnection();
      my_nc.connect(null);
      var my_ns:NetStream = new NetStream(my_nc);
      my_video.attachVideo(my_ns);

      //my_ns.play("myVideo.mpg");
      //my_ns.play("myVideo.mov");
      //my_ns.play("myVideo.3gp");

      my_ns.play("clouds.flv");