TigerGirl7
Programmer
Hi,
I'm using the following code to load an FLV into my flash movie. Does anyone know how to adjust the code to randomly load one of three FLVs? (video_1.flv, video_2.flv, video_3.flv)
I'm using the following code to load an FLV into my flash movie. Does anyone know how to adjust the code to randomly load one of three FLVs? (video_1.flv, video_2.flv, video_3.flv)
Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);
ns.play("video_1.flv")