This method returns a new snapshot object which is the thumbnail bits, aspect ratio preserved, and centered into the specified dimensions. The method returns null if failure.
function makeThumb()
{
var srcBox = scene.getBoxById("thumbSrc");
var destBox = scene.getBoxById("thumbDest");
// Grab a snapshot of the source box
var snapSrc = srcBox.createSnapshot(false);
// 'thumbnail' spits out a new snapshot object which is the thumbnail bits,
// aspect ratio preserved, and centered into the specified dimensions
var thumb = snapSrc.thumbnail(200,200);
// Set it as our thumb window's source
destBox.attachSourceSnapshot(thumb);
}