It seems like you are trying to add swf file as image. You need to make an image from it first.
var map : MovieClip = new jpgBytes();
var bitmapData : BitmapData = new BitmapData(map.width, map.height);
bitmapData.draw(map);
var bitmap : Bitmap = new Bitmap(bitmapData);
You can try to use another library called PDFcase for creating pdf in ActionScript.
This example shows how to add images to pdf.