#1
download AS3 JPEG encoder
http://code.google.com/p/as3corelib/
#2
add that encoder to your class path (e.g. to source of that lib) and write a code like:

Код:
import flash.display.*;
import flash.geom.*;
import mdm.*;
import com.adobe.images.JPGEncoder;
//
function doTest():void
{
var shape:Shape = new Shape();
shape.graphics.beginFill(0x00FF00);
shape.graphics.drawRect(0, 0, 200, 200);
shape.graphics.endFill();
this.addChild(shape);
var bmp:BitmapData = new BitmapData(shape.width, shape.height);
bmp.draw(shape);
var jpgEncoder:JPGEncoder = new JPGEncoder(85);
var jpgStream:ByteArray = jpgEncoder.encode(bmp);
//
var jpgPath:String = mdm.Application.path+"myImage.jpg";
//
mdm.FileSystem.BinaryFile.setDataBA(jpgStream);
mdm.FileSystem.BinaryFile.writeDataBA(jpgPath);
/// let's open it via system
mdm.System.exec(jpgPath);
};
//
mdm.Application.init(this, doTest);
(85 - is magic number - here for compression ratio/quality)
#3
in ZINC Builder make sure you've added mdm_filesystem and mdm_system for above example to work,
это пример с форума мдм.

Код:
function snapPic():void{
if(myMessageTxt.text.length > 0){
var bitmapData:BitmapData = new BitmapData(pic.width, pic.height);
bitmapData.draw(pic,new Matrix());
var bitmap : Bitmap = new Bitmap(bitmapData);
var jpg:JPEGEncoder = new JPEGEncoder();
var ba:ByteArray = jpg.encode(bitmapData);
file.save(ba,myMessageTxt.text + '.jpg');
} else {
Alert.show("Please enter your First name","Error");
}
}
а это пример для 10-ого плеера, первый попавшийся в гугле по запросу "Flash Player 10 save to file".
да вот еще
http://techblog.floorplanner.com/200...ash-player-10/
Достаточно?