[Top][All Lists]

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

Re: [Swftools-common] help for workflow

From: Benedikt Quirmbach
Subject: Re: [Swftools-common] help for workflow
Date: Wed, 30 Jul 2008 17:12:33 +0200

HI Mathias,

I got it on my own!

First I create the PDF.swf with pdf2swf.

Than I just imported the PDF.swf into the button.swf as background. In the sc-file for swfc it looks like this:

.flash name="data\ready.swf" bbox=424x600  fps=25
.swf thebackground dummy_data/a_pdf.swf
.put thebackground x=0 y=0 scalex=424 scaley=600

It's realy easy, when you know how to do it...


Am 30.07.2008 um 16:58 schrieb Matthias Kramm:

On Wed, Jul 30, 2008 at 01:59:58PM +0200, Benedikt Quirmbach <address@hidden > wrote:
It looks like I get a pagex.swf out of pdf2swf that is much larger
than 424 X 600 px.

You can use "-s zoom=x" (default:72) to specify the page width.
You can get the (original) page width/height using "pdf2swf -I", so the
formula should be something like this:
   x = 72 * width / 424
with "width" the page width as returned by "pdf2swf -I", and
x the value for "-s zoom=".
Notice that scaling like this always mains the aspect ratio. If
you need different scaling factors for vertical and horizontal,
you'll need to use use swfcombine --scalex/y.



reply via email to

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