Skip to content


Adobe Air + AlivePDF without Flex

I tried this before with an earlier version of AlivePDF and it didn’t go well. AlivePDF 0.1.5 RC has proven more fruitful. 

First, the goods:

DryByDesign_AlivePDF_Demo (zip)

DryByDesign_AlivePDF_Demo (air package)
[cert: dbd, pw: dbd]

The problem:

PDF creation is limited [read: not natively supported] in Adobe Air. In the past I’ve detailed PDF Cross Scripting, as well as using jsPDF for PDF creation with pure javascript.

However, AlivePDF offers a very robust toolbox for PDF creation and manipulation. Until now all the tutorials, coverage, and indications have been that this is a Flex tool. [notice: Until now!]   

The solution:

The process goes something like this:

  1. Pull the library.swf file out of the AlivePDF.swc file.
  2. Add the SWF file to your application.
  3. Create an alias file for any of the functions listed in the documentation you may need/want.
  4. Enjoy!

The files above offer a working example using a Aptana Studio project.

Posted in Adobe Air, PDF Scripting.

Tagged with , , , , , , .