I have an instance of the FLV component on the stage with the name of ‘vidPlayer’. I then have this code loading the movie:
var theVid:Video = new Video();
vidPlayer.addChild(theVid);
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorEventHandler);
theVid.attachNetStream(ns);
ns.play(mediaPath+padNum+"001"+".flv");
function asyncErrorEventHandler(event:AsyncErrorEvent):void {
// ignore
}
None of hte controls on the video work. Any idea why?