[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] Problem with boundingbox (0.8.1)
From: |
Matthias Kramm |
Subject: |
Re: [Swftools-common] Problem with boundingbox (0.8.1) |
Date: |
Sun, 15 Jul 2007 22:10:00 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Wed, Jun 20, 2007 at 11:58:19AM +0300, Kai Lautaportti wrote:
> I'm using pdf2swf to convert a wide variety of PDFs. I've also noticed
> that by default pdf2swf often produces SWF files which have their
> bounding boxes way off.
This is usually only if you load the SWF file into another SWF movie.
In that case, Flash Player will report incorrect movie dimensions.
When displayed directly, the bounding box works, i.e. (as you already
said), the visual appereance is right.
One way to solve this problem is to run pdf2swf with the bboxvars
option:
pdf2swf -s bboxvars file.pdf -o file.swf
After that, when loading "file.swf" into some other SWF movie, you
can query the movie size by checking the movieclip variables
xmax, xmin, ymax, ymin, width, height
.
(E.g. "newMovieClip.width", if you did load file.swf into a movieclip
called "newMovieClip")
Greetings
Matthias
- Re: [Swftools-common] Problem with boundingbox (0.8.1),
Matthias Kramm <=