Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-29-2007, 01:57 AM
Junior Member
 
Join Date: Oct 2007
Posts: 2
Default How to save/export MovieClip to PDF in local harddisk?

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");
----------------------------------------------
Reply With Quote
  #2 (permalink)  
Old 10-29-2007, 04:27 AM
Member
 
Join Date: Oct 2004
Posts: 53
Default Re: How to save/export MovieClip to PDF in local harddisk?

just install a PDF writer like CutePDF and print the movie clip to a PDF
Reply With Quote
  #3 (permalink)  
Old 10-29-2007, 07:44 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: How to save/export MovieClip to PDF in local harddisk?

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
Reply With Quote
  #4 (permalink)  
Old 10-29-2007, 04:30 PM
Junior Member
 
Join Date: Oct 2007
Posts: 2
Default Re: How to save/export MovieClip to PDF in local harddisk?

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:
Originally Posted by SWFKIT
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
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:36 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.