|
|||
|
hi!
I have put in swfkit: Code:
function runPdf(pdfname)
{
// get the pdf viewer
var pdfviewer = getAppDir() + "\\FoxitReader.exe";
// get the pdf file
var pdf = getAppDir() + pdfname;
// view the pdf
Shell.run('"' + pdfviewer + '" "' + pdf + '"');
}
Code:
on (release)
{
fscommand("ffish_eval", "runPdf('\\fscommand\\post.pdf');");
}
Nothing is displayed. If someone can post a .zip with 2 buttons and 2 pdf.. Thanks a lot. Cassy. |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|