swftools-common
[Top][All Lists]
Advanced

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

[Swftools-common] javascript function


From: Francesco Reitano
Subject: [Swftools-common] javascript function
Date: Thu, 30 Aug 2012 17:53:05 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20120713 Thunderbird/14.0

Hi, i have a pdf with URL, for example the URL in link is "30". I have modify a viewer (rfxview) and add a as function:
function doextlink(linkcode){
getURL("javascript:myjavascript(\'" + linkcode + "\')", "");
}

Now i want that in conversion from pdf to swf the link call the function "doextlink" so i can call the javascript function in the HTML page.
In conversion i use
pdf2swf -B rfxviewnew.swf -s internalfunction=doextlink test.pdf -o test.swf
the conversion and the viewer are ok (i have decompiled the swf to control), but the link in pdf not call the doextlink function, but call:
on (release)
{
    getURL("30", "_this");
}

why?
can you help me?

best regards
Francesco



reply via email to

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