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


                                                  

Reply via email to