fou99004
11-08-2007, 10:42 PM
This is driving me crazy.
I'm trying to run everything locally for now just to test this. So I just run test movie from flash.
Here is my code:
nc = new NetConnection();
nc.onStatus = function(info){
connect_text.text = info.code;
var ns:NetStream = new NetStream(nc);
ns.play("test.flv");
flv_video.attachVideo(ns);
};
nc.connect("rtmp:/test/");
my file is under the applications folder in a folder called test so the path looks like this:
C:\Program Files\Macromedia\Flash Media Server 2\applications\test\test.flv
I also have the main.asc in this directory.
(I've also tried putting the file in other locations such as \test\_definst_\test.flv)
I am getting success back from the net connection but the video never plays and when I push the play button I get this error:
1000: Unable to make connection to server or to find FLV on server
From everything that I've read this should be working but I'm having no luck.
Can anybody see what I'm doing wrong or is there some external issue that I need to be aware of?
I'm trying to run everything locally for now just to test this. So I just run test movie from flash.
Here is my code:
nc = new NetConnection();
nc.onStatus = function(info){
connect_text.text = info.code;
var ns:NetStream = new NetStream(nc);
ns.play("test.flv");
flv_video.attachVideo(ns);
};
nc.connect("rtmp:/test/");
my file is under the applications folder in a folder called test so the path looks like this:
C:\Program Files\Macromedia\Flash Media Server 2\applications\test\test.flv
I also have the main.asc in this directory.
(I've also tried putting the file in other locations such as \test\_definst_\test.flv)
I am getting success back from the net connection but the video never plays and when I push the play button I get this error:
1000: Unable to make connection to server or to find FLV on server
From everything that I've read this should be working but I'm having no luck.
Can anybody see what I'm doing wrong or is there some external issue that I need to be aware of?