hi, i'm using jpeg encoder script. in the script example, a movie clip is converted to jpeg. differently i want to convert the stage but only some part of it such as x:320-500, y:0-600. is it possible?
function createJPG(m:MovieClip, quality:Number, fileName:String)
{
var jpgSource:BitmapData = new BitmapData (m.width, m.height);
jpgSource.draw(m);
var jpgEncoder:JPGEncoder = new JPGEncoder(quality);
var jpgStream:ByteArray = jpgEncoder.encode(jpgSource);
...
}
create(partOfStage,90,"name");