Except for extracting the data for further processing, it is also typical that you would want to create reports of the data. In this case, PDF is one of the most popular formats, because it looks virtually identical on every system.
Generating PDF files is a huge topic, so we can't show everything, but this recipe should get you started.
We will use the purePDF library to create the PDF file. It can be found at http://code.google.com/p/purepdf/. Download the library through the download link. At the time of this writing, purePDF_0.77.20110116.zip
was the current version.
The library comes packaged as an SWC class library. To use these in FlashDevelop, move both files into the lib
folder of your project. Inside FlashDevelop, right-click on the files and choose Add to Library. Their filenames should turn blue in the project view.
Now create a Recipe8
document class and copy the same starting code from the previous recipe.