Hi all
here’s my problem hope someone can help me
I’ve 6 .flv videos uploaded on a remote server…On my main server I’ve an swf movie with 6 buttons each one to play a remote flv
I’ve also placed on the main stage of the swf a FLVPlayBack component that should display the flv, instance name “player”.
Now if the flv files reside on the same server as the swf and I use this actions of the buttons
on (release) {
player.contentPath = "flv_movies/movie1.flv";
}
everything is fine…
when I try to use the following action to load the remote flv files
on (release) {
// Create a NetConnection object
var my_nc:NetConnection = new NetConnection();
// Create a local streaming connection
my_nc.connect(null);
// Create a NetStream object and define an onStatus() function
var my_ns:NetStream = new NetStream(my_nc);
// Attach the NetStream video feed to the Video object
player.attachVideo(my_ns);
// Set the buffer time
my_ns.setBufferTime(5);
// Begin playing the FLV file
my_ns.play ("http://www.myremoteserver.com/my_remote_movies/movies/movie1.flv");
the remote flv actually does loads as you can hear the sound…but you cant see the video! I have no idea of where the video is loading…
the swf containing the buttons with the actions is loaded on level 2 of the main stage
I need some help…let me know please (my main server has file size restrictions so I have to have them on another server)…