Hi
I’ve never used netstream objects before. I would like to play a series of videos one after the other. This eventually will need to change dynamically.
This was as far as my attempt got:
[as]
var fl_NC:NetConnection = new NetConnection();
fl_NC.connect(null); // starts a connection; null is used unless using Flash Media Server
var fl_NS:NetStream = new NetStream(fl_NC);
fl_NS.client = {};
var fl_Vid:Video = new Video();
fl_Vid.attachNetStream(fl_NS);
addChild(fl_Vid);
fl_NS.play(“http://www./009-001.flv",0,-1,true);
fl_NS.play("http://www./010-001.flv”,-1,5,false);
[/as]
It only plays the second video - no matter what parameters I change. I think its because I’m using a URL and not an instance name?
What’s the correct way to do this? Much appreciated.