I've converted a pdf to a swf using pdf2swf.
The starting pdf contains various links.
Some links are of the type "Web links" and in the .pdf they're linked to an action called "Open a web link" with parameter a url like "http://my-url.tld".
Other links are of the type "_javascript_ links" and in the .pdf they're linked to an action called "Run a _javascript_" with parameter a string like "this.getURL('http://my-url.tld/')".
In the resulting .swf the links of the type "Web links" are correctly implemented with a string like this: this.dispatchEvent(new TextEvent("link", true, true, "http://my-url.tld/"));
meanwhile the other type of links are inserted in the .swf but the url is missing: this.dispatchEvent(new TextEvent("link", true, true, ""));
Anyone has an idea to how to fix this? (I can't edit the starting pdf changing every _javascript_ link to a web link... if you don't know about an application that automatically parse a pdf and change all _javascript_ links to web links...)
Thanks
|