> If I run that on a swf that was exported from openoffice it fails. Granted swf's coming from openoffice are far from perfect.
----- Original Message ----
From: Matthias Kramm <address@hidden>
To: address@hidden
Sent: Thursday, May 10, 2007 1:30:30 PM
Subject: Re: [Swftools-common] SWF files scaled incorrectly
On Wed, May 09, 2007 at 10:19:50AM -0700, Ted Chen wrote:
> I'm experiencing the same problem, i.e. when loading the pdf2swf
> generated pdfs, MovieClip.loadMovie() gets a dimension that includes a
> lot of white spaces at borders. It happens to more than 20% of my
> pdfs. Which box dimensions are read, when loadMovie() is called? I
> tried swfbbox, but it does not fix the problem. I posted the same
> question last month. Does anyone have any workarounds? Matthias, do
> you have any ideas or suggestions?
Usually, this can be fixed with
swfbbox -O -c file.swf -o file.swf
.
The "-c" option is important, as it will correct the bounding boxes in
a way that MovieClip.loadMovie() sees the correct dimensions.
Greetings
Matthias