0 Replies Latest reply on Sep 19, 2007 10:29 AM by mmesarina

    Video component failing to load FLV

    mmesarina Level 1

      I literally copied the example in the Flex documentation books below into my Flex mxml file and only changed the URL location of the flv file, which in my case is a local file, and when i run the application the video doesn't get loaded at all and I don't get any debugging information.
      Has someone run into this problem too?

      Here is the code:

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" layout="absolute">
      import flash.display.Sprite;
      import flash.net.*;
      import flash.media.Video;

      var videoUrl:String = " http://localhost//rope.flv";

      public function VideoTest()
      var connection:NetConnection = new NetConnection();

      var stream:NetStream = new NetStream(connection);

      var myVideo:Video = new Video(360, 240);