Open GoogleCodeExporter opened 8 years ago
If you're using Flash IDE, you have to download Flex SDK, add the path to the
libs: ...\flexsdk\frameworks\libs to the AS3.0 settings. And then to embed the
files:
[Embed(source="myEPSSource.eps", mimeType="application/octet-stream")]
var myEPSSource:Class;
var myEPS:ByteArray = new myEPSSource();
var myPDF:PDF = new PDF(Orientation.LANDSCAPE,Unit.MM,Size.LETTER);
myPDF.setDisplayMode( Display.REAL );
myPDF.addPage();
myPDF.addEPSImage(myEPS as ByteArray);
myPDF.save(Method.REMOTE, "create.php", "generated.pdf");
Original comment by enstr...@gmail.com
on 3 Dec 2010 at 1:08
Original issue reported on code.google.com by
robert%g...@gtempaccount.com
on 22 Jul 2010 at 3:35