jason22
11-18-2005, 09:54 PM
I want to stream some flv's. Below is the actionscript I'm using and I'm not getting anything to display when I test. Can someone please help?
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
myVideo.attachVideo(ns);
ns.play("myVideo.flv");
I got this to work when I had this all on the main timeline. But when I try to use this script when it's inside movieclips it doesn't work. Any suggestions??
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
myVideo.attachVideo(ns);
ns.play("myVideo.flv");
I got this to work when I had this all on the main timeline. But when I try to use this script when it's inside movieclips it doesn't work. Any suggestions??