sanils BizHat Addict

Joined: 22 Jan 2008 Posts: 466 Location: gods own country
|
Posted: Fri May 02, 2008 10:59 am Post subject: Loading a New FLV |
|
|
Hi,
Below is the script I'm using to load my FLV. It works great!
What I don't know how to do is tell the file that when the video is finished, to load a different FLV. (The purpose for this is to load a still image from the beginning of the video just so the user has something to look at. Or a SWF instead of an FLV that could say "Play Again".)
Any suggestions?
| Code: |
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);
ns.play("video_1.flv");
|
thanks,
sanil |
|