I dont understand why flash is not displaying my .flv! It seems plike there are many typos or error or both in the documentation. If you read below, the documentation claims to use “myVideo.flv” but the code actually references “video1.flv”.
Here’s exactly the code I took from the Flash Help documentation:
//-------
The following example plays a previously recorded file named myVideo.flv that is stored in the same directory as the SWF file.
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(“video1.flv”);
//---------
So is there really a way to dynamically create a Video object that plays a flv WITHOUT using the FLVPlayback component? I thought that the above code does that but unfortunately, I only hear sound and dont see any video. Also, when I trace(my_video) it reads: “undefined”
Anyone??