In this short tutorial, let’s see how we can print the content of our swf files using the PrintJob class with actionscript 3.
1. Create a new flash file (Actionscript 3.0) and save it as print.fla.
2. Rename “layer1″ to “Content” and here create the content that you want to print (images, text …). Convert the whole content into a movie clip and give it an instance name of “content_mc”.
3. Create a new layer at the top named “button” and create the print button. Give it an instance of print_btn.
Tags: fil, Flash, GET, image, images, IP, png, script, Source, Start, Sten, text, tutorial









tors, feb 25, 2010
Kommentarer slået fra