Archive for the ‘ Adobe AIR ’ Category

Purepdf Flash/Actionscript library for creating PDF files

purepdf is a porting of the java iText library. purepdf is a complete pdf library for actionscript. It supports almost all the pdf features.

  • added example for creating alpha gradient colors.
  • support for pdf viewers display options
  • alpha transparency
  • layers and layers membership
  • support for pdf text rendering.
  • tables ( nested tables, page split tables, table with images, etc…)
  • slide show
  • page transitions
  • annotations
  • patterns, shadings patterns (linear and gradient), spot colors, rgb color and cmyk color
  • linear and radial gradients with alpha
  • forms (user input forms, textfields, combo box, list, checkbox).
  • paragraphs, phrases, chunks for text manipulation
  • image patterns
  • lists
  • basic and advanced paths
  • images ( png, tif, jpeg, bitmapdata, gif, animated gifs)
  • afm, otf, pfm, ttc and ttf fonts (embedded and not embedded)
  • metadata, page header and footers
  • external, internal links
  • barcodes creation ( ean-ucc 13, ucc-12, ean-ucc-8, upc-e, pdf 417, ean supplements)
  • unicode, cjk fonts
  • file attachments
  • arabic RTL writing ( still under revision.)
  • javascript
  • multi column text
  • page labels
  • vertical text
  • and most of the pdf features…

More info at google project code page: http://code.google.com/p/purepdf/

Disable all button events in AS3

In old AS2 days, whe use a simple big button in the top of the scene to avoid user iteraction while by example posting data and waiting result from server.

In AS3 is more simple:

1
2
3
4
// Disable all button events
stage.mouseChildren = false;
// Also Disable tab events
stage.tabEnabled = false;

Avoiding the yellow focus rectangle

1
stage.stageFocusRect = false;