Here’s some code on how to export an entire image/MovieClip/Sprite to a PDF document, using the AlivePDF library.
private function printAsPDF():void {
trace("CREATE PDF");
var pdf:PDF = new PDF();
var page:Page = new Page(Orientation.LANDSCAPE, Unit.MM, Size.A4);
pdf.addPage(page);
pdf.setMargins(0, 0, 0, 0);
pdf.setDisplayMode(Display.REAL, Layout.SINGLE_PAGE, PageMode.USE_NONE, 1.0);
// this is the image/movie clip container we're saving to the PDF
var img:Sprite = Sprite(Canvas.getInstance());
var bmpData:BitmapData = new BitmapData(img.width, img.height, true, 0xFFFFFF);
var matrix:Matrix = new Matrix();
matrix.createBox(2, 2, 0, 100, 100);
bmpData.draw(img, matrix, null, null, null, true);
var res:Resize = new Resize(Mode.FIT_TO_PAGE, Position.CENTERED);
pdf.addImage(img);
var f:FileReference = new FileReference();
f.save(pdf.save(Method.LOCAL), "min_pdf.pdf");
}