Using Flash8.
I am creating a flash movie that has 6 buttons… each loading a new video into an embedded video symbol. I want these to be progressive streamed video.
All my video has been converted to FLVs and these are located in the same directory as the SWF.
From the library I created a new embedded video symbol and then placed it on the stage and gave it an instance name “videox”
I then gave my first load button a instance name “vid01”
This is the code that I am trying to use to load a new stream into “videox” from that button…
vid01.onRelease = function() {
video_nc = NetConnection();
video_nc.connect(null);
newStream_ns = new NetStream(video_nc)
videox.attachVideo(newStream_ns);
newStream_ns.play("sandy.flv");
};
Published but the video does not load.
Obviously I need to get passed this wall before I can move onto buffering …which I will need to do… but first things first… where am I going wrong??
In a real jam here and once again, seemingly stuck on the simple stuff …any help would be appreciated!
Thanks!