Generating thumbnail previews using progressive flvs

We probably all know by now how to play a progressive flv without Flashcom:

nc = new NetConnection();
nc.connect(null);
ns = new NetStream(my_nc);

ns.setBufferTime(0.1); // small buffer to limit motion in preview
my_video.attachVideo(ns); // my_video is a video object on stage
ns.play(thefile);

To turn this example into a thumbnail preview of the actual flv you could do this:

ns.onStatus = function (info) {

     if(info.code == “NetStream.Buffer.Full”){
          ns.pause();
     }
};