I would like (truly, I desperately need) to preload an external flv file into my main swf movie. I am using the NetConnecction thingy to trick Flash into thinking that I an streaming from the flash comunication server. This way I do not have to use mm’s large media display component. Here is my code:
//tell the preloader to start preloading this timeline
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.setBufferTime(3);
vid.attachVideo(ns);
ns.play("flashvideo_movie.flv");
vidlength=8.17; // set the duration in seconds of your flv
playStatus = true;
How can I make a preloader to load this external flv? Can I make the main site movieClip preloader also preload the external flv (that would be even better)?
Here is the website that I am designing:
http://hourofthewitch.com
Thanks for your help, I hope I meet my deadlines on this one!
Aaron