The AcroFLeX Graphing Bundle
AcroFLeX Graphing Bundle is used to create a graphing screen that can be incorporated into a PDF document and viewed within Adobe Reader, version 9.0 or later. The graphing screen can be interactive or non-interactive.

  • For the interactive graphing screen, the user can enter an expression representing a function of a single variable x, a polar function of t, or a set of parametric equations that are functions of t. Various controls are provided to change the viewing window, for shifting horizontally and vertically, and for zooming in or out.
  • For the non-interactive graphing screen, the screen is populated when the user click a link created by \sgraphLink. \sgraphLink passes such information as the function,domain, and range to the graphing routines of AcroFLeX.
  • Graphing data can also be passed to a graphing screen in populate mode. The document author can prepare functions for the user to view and to manipulate using the graphing controls.
  • In this version of AcroFLeX, up to four functions can be graphed and four sets of plotted points can be displayed, on one graphing screen.
  • The graph screen itself is actually a SWF file, named acroflex.swf. This SWF file is part of the AcroFLeX distribution. This package uses the rmannot package, also written by this author, to create rich media annotations, to embed acroflex.swf in the PDF document, and to display the SWF through the rich media annotation.

Distribution, Documentation and Demo files

  • The distribution is contained in acroflex.zip,
  • the documentation is included, but we also link it on this page as well, acroflex_man.pdf.
  • The ultimate demo file is afgraph.pdf; this demo illustrates the capabilities of the AcroFLeX Graphing System. If you don't have Adobe Reader 9, the graphing screens will not activate.
You also need to pick the latest versions of there were minor, yet important additions to these packages in support of both rmannot and AcroFLeX.

Version 9 of Acrobat/Adobe Reader introduces the rich media annotation which plays FLV movies, and SWF animations, and MP3 files. Acrobat/Adobe Reader also provides a scripting bridge between JavaScript for Acrobat, and ActionScript, the scripting language of Flash player. This bridge enables the PDF and the Flash widget, embedded in the rich media annotation, to communicate. The scripting bridge opens up wonderful opportunities for application to the education sector. The AcroFLeX Graphing Bundle is one such application of the new PDF-Flash connection to education.

AcroFLeX uses the commercial product Adobe FLEX Builder 3 and FLEX 3 SDK to produce Flash widgets, and the AeB to create PDF documents with appropriate JavaScript to communicate with the Flash widget. FLEX Builder 3 is currently free for students and educators, the FLEX 3 SDK is free to all.

What is AcroFLeX?
The word AcroFLeX is meant to convey a merging of two computer technologies:

  • Acro: connotes both Adobe Acrobat (Adobe Reader) and AcroTeX (as in The AcroTeX eDucation Bundle or, just AeB).
  • FLeX: connotes Adobe FLEX 3. FLEX 3 is used to create SWF files to interact with the user. In the case of graphing, plotting information is passed from Acrobat, via JavaScript, to the Flash widget. ActionScript takes the data, and plot the points provided, and connects them with a smooth curve.


  • (07/28/08) Added additional support for unicode, there are changes in the eforms package to accomodate. Download the new version of acrotex_pack.zip.
  • (07/25/08) Added commands for language localizations, and a file afcustom.def for redefining all language strings
  • (07/24/08) Fix a bug for when user enters points in the function input field.
  • (07/18/08) New feature of graphing functions with shaded areas under graph; fixed a bug with parametric equations while in interactive mode.
  • (07/06/08) Initial upload of the AcroFLeX Graphing Bundle



Now I simply must get back to my retirement!

Last Update: 07/18/2008