|
|||
|
Dear Support Team,
Could you give me some supports for saving/exporting Movie Clip (e.g. name is "printedForm") in my flash movie (app.exe) to PDF in hard disk? I am using SWFKit Pro 3.0. I try the stupid method to capture the movie clip to image by captureMovie and save in hard disk then convert it to pdf. But the content of movie clip is so much. I reduce the movie clip in smaller size (~70% reduced). After export to jpg, the resolution is very bad when zoom in. Any help to me? Any solution to save the movie clip directly in PDF file? Thank you very much. wai ![]() ---------------------------------------------- import SWFKit.*; var image = Image.captureMovie(310, 90, 389, 540); image.zoom(3); image.save("c:\\test.jpg"); fscommand("exec", "c:\\img2pdf.exe c:\\test.jpg c:\\test.pdf"); ---------------------------------------------- |
|
|||
|
Yes, you may use a pdf printer. However, if you want to use your method, you will have to write a dll or activex to do that, in the dll or activex, you can
1) create a flash player control, load your movie, and zoom it in so that the output image will have a satisfactory quality 2) let the flash player draw in the memory so that you can get an bitmap of the movie clip 3) write the bitmap to a pdf file |
|
|||
|
Thank you for your reply.
Why I use my stupid method because my users didn't expect to install anything. The additional PDF printer is not suitable. Besides, any recommended existing dll or activex can do that? If anyone have idea, please reply to me to buy it as I don't know how to write dll or activex ;D. Thanks. Quote:
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|