swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] Handling external and internal links functions


From: Matthias Kramm
Subject: Re: [Swftools-common] Handling external and internal links functions
Date: Thu, 10 Jan 2008 08:48:52 +0100
User-agent: Mutt/1.5.6i

On Wed, Jan 09, 2008 at 04:29:17PM +0200, ??????? ???????? wrote:
> Thanks for this great software.
> I'm new to this, and I try to handle the links of the PDFs.
>  
> When I use the following:
> pdf2swf.exe  "test.pdf" -o "test.swf"
> I reverse the swf and I see that there is a button for each link with the
> actionscript:
> on (release) {
>     gotoAndPlay( a page number here );
> }
>  
> When I use the following:
> pdf2swf.exe  -s internallinkfunction=my_in_link   -s
> externallinkfunction=my_out_link -o "test.swf"
> I reverse the swf and I notice that   for each link I have the code: 
> on (release) {
> }

Hm. There should be something there.
Maybe the reverse compiler doesn't show the function?

Try running the file through "swfdump -a", you should see something
like:

[007]        57 DEFINEBUTTON defines id 0032
                 (    5 bytes) action: Push int:9
                 (    5 bytes) action: Push int:1
                 (    8 bytes) action: Push String:"foobar"
                 (    0 bytes) action: CallFunction
                 (    0 bytes) action: End

Greetings

Matthias






reply via email to

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