swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] convert pdf to swf with personnal viewer


From: Thomas Crespin
Subject: Re: [Swftools-common] convert pdf to swf with personnal viewer
Date: Wed, 25 Mar 2009 13:54:42 +0100
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

Chris Pugh a écrit :
Salut Thomas,

Tu est le cafard..? ;o)

    http://wiki.swftools.org/index.php/Pdf2swf

Aussi,

   http://www.quiss.org/swftools/pdf2swf_usage.html

Bon chance!


Chris.


2009/3/23 Thomas Crespin <address@hidden>:
  
Hello.

I am a beginner using swftools.
I am french and I don't speak english well, sorry, please be indulgent, it's
difficult for me.

I want to convert PDF to SWF, with little personnal buttons "before" and
"next" betwenn pages of document.

First, I tryed tu use "pdf2swf" with option "-B" like explicated in
http://al1fouche.free.fr/public/.flash/pdf%20en%20flash.pdf but my file
"viewer.swf" don't appear in the final Flash.

So I tryed tu use "pdf2swf" and next "swfcombine" but I meet an other
problem : the file pdf is cut in weight and hight. However the size of the
pdf is 100x75mm, like the size of the viewer and like the size of the  movie
clip named "viewport".

Who can help me ?
I can join my files if it's more easy to soluce.

This tools appears very useful and I'm impatient to can use it.
Thank's.

--
Thomas Crespin
    

I'ma back with my poor english to say you that I'm finally successful.

To convert from PDF to SWF with option "-B", it's necessary use also the option "-z", otherwise it not works (I don't understand why but it's the reality).
For example the little command...

pdf2swf -t -z -B viewer.swf %1

...works (if all is in the same directory).

I also success with swfcombine, using commands...

pdf2swf -t %1 -o temp.swf
pause
swfcombine -X 283 -Y 213 -o test.swf viewer.swf viewport=temp.swf
pause
del temp.swf


... where '283' and '213' are numbers display before step 1

I hope this explanations can help everyone else.

It's fantastic to convert PDF to SWF for display on web pages.
With a PHP program I'm be able to create a file *.bat which next convert over 1000 files in one click !
Great thank's to developpers,

-- 
Thomas Crespin


reply via email to

[Prev in Thread] Current Thread [Next in Thread]