ActionScript 3

Create PDF or JPG File in Adobe Air Using ActionScript 3 and AlivePDF Library

We can use purePDF or AlivePDF ActionScript 3 libraries for creating PDF from Adobe Air. This example code showing how to saved and stored a .JPG file on the device. this way you may save .PDF file also. I will show full PDF example here. f = File.documentsDirectory.resolvePath(fil_name+”.jpg”); stream = new FileStream(); stream.open(f, FileMode.WRITE); i = new …

Create PDF or JPG File in Adobe Air Using ActionScript 3 and AlivePDF Library Read More »

How to Open a PDF file using Adobe Air AS3 for PC, Mac and Mobile (iOS and Android)

StageWebView is a solution for viewing a PDF or Webpage under ActionScript 3 Air (PC, Mac, Mobile, iOS and Android) Application. var pdf_file:String = “your-pdf-file-name.pdf”; var pdfView = new StageWebView(); pdfView.stage = stage; //Set mask area(x,y,w,h) pdfView.viewPort = new Rectangle(20,103,960,640); //Your PDF file location based on your operating system i may change “app:/” var filePath:String …

How to Open a PDF file using Adobe Air AS3 for PC, Mac and Mobile (iOS and Android) Read More »