var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
trailer.attachVideo(ns);
ns.play(“trailer.flv”);
Is this the right code to have the video playback component stop playing when someone click to a different part of the site while the video is playing?
thanks