I want to add a button to my custom Flash Video Player that will make the video blow up full screen. I've seen this done with the YouTube and other Flash Video Player websites. Does anyone know the code how to do this?

PS - I'm using this code for my video player:

code:


// NetConnection setup
var nc:NetConnection = new NetConnection();
nc.connect(null);

// NetStream setup
var ns:NetStream = new NetStream(nc);

// attaching NetStream
video.attachVideo(ns);

// playing external flv
ns.play("myflv.flv");