Sometimes happen to have to print the contents of our SWF in paper or PDF.
The right Actionscript 3.0 class to do that is is the PrintJob!
It happened just yesterday to me with a client who I made a small application.
This application displays images with descriptions and the client has asked me to add an option, which allowed the user to print on paper or PDF ( if
he has Adobe Acrobat Pro ) image and description.
Because I felt it could serve others, I public a simple tutorial on how to use PrintJob class of Actionscript 3.0.
Unfortunately, this class has a bug ( https: / / bugs.adobe.com/jira/browse/FP-307 ) if used on MAC.
It works only locally, on the Web does not work.
Do your tests and keep track of your results!
Create a FLA and save it as name “main.fla”.








{ 0 comments… add one now }