swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] Parse hotspots in PDF to create popups in SWF


From: Matthias Kramm
Subject: Re: [Swftools-common] Parse hotspots in PDF to create popups in SWF
Date: Fri, 29 Aug 2008 22:55:45 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Fri, Aug 29, 2008 at 10:40:27PM +0200, jan bahnsen <address@hidden> wrote:
> 1) - user creates an area (e.g. a web-link hotspot) in PDF and tags
> this area with an ID instead of a web address
> 2) - PDFs are converted using pdf2swf
> 3)  - a script parses the swf to know the coordinates of the active
> area and also gathers the ID for this area
> 4) - swfc is used to create the logic for the converted SWF to know
> which ID needs to be filled with which content
> 
> where i am struggling now is 1) and 3) because i havent figured out
> yet how to find out the exact coordiates of e.g the created hotspot.

Use swfdump -b -u. 
"-b" will tell you the bounding box of all shapes (DEFINESHAPE) 
in the PDF/SWF. 
Weblinks will be visible as DEFINEBUTTON. "-u" tells you which shape
belongs to which button, and hence the button's bounding box.

Greetings

Matthias








reply via email to

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