These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Problems with Tool Navigator (NavPreview)

Jeka
Registered: Feb 8 2011
Posts: 8

I am trying to launch my test Navigator Project, using the NavPreview-app.xml and NavPreview.swf instruments. But it does not work. Where exactly should I put these two files? What changes should I do to the project, to launch my navigator in Flash Bilder.
I use Flash Bilder 4.0

UVSAR
Expert
Registered: Oct 29 2008
Posts: 1357
You need to read the Portfolio SDK documentation carefully and do what it says to configure Flash Builder - there are very detailed instructions.

Portfolio layouts must be tested in one of two ways:

1) By debugging within the supplied AIR application helper (using a custom debug profile in Flash Builder)
2) By exporting a completed NAV package and loading it into Acrobat X Pro (using the method described in the docs)

The SWFs created by your Flex project won't do anything standalone as they rely on the Portfolio API. Without Acrobat (or the AIR app) to send them commands, nothing will ever initialize.
Jeka
Registered: Feb 8 2011
Posts: 8
OK, by this link http://blogs.adobe.com/pdfdevjunkie/ax-portfoliosdk_intro/ax-portfoliosdk1 I see that I can debug my own Portfolio layout in Flash Builder. I do all the actions implemented in Portfolio SDK documentation, but the following error is received: "invalid application descriptor: descriptor version does not match runtime version" What does it mean and how to fix this error? I want to debug an example which is provided by Joel Geraci ( http://joelgeraci.com/adobe/devjunkie/web/portfolios_p2_outer.shtml ) by link http://joelgeraci.com/adobe/devjunkie/web/downloads/PDF_Portfolio_Tutorial_02.zip
UVSAR
Expert
Registered: Oct 29 2008
Posts: 1357
The sample is an Acrobat 9 layout, which must be compiled using the Acrobat 9 Portfolio SDK under the Flex 3 SDK library.Joel's blog entry and my earlier reply refer to Acrobat X, which has an entirely different SDK and runs under Flex 4. Projects are not transferable between the two, and the debugging options described for Acrobat X are not compatible with Acrobat 9.You should only develop against the Acrobat X Portfolio SDK, as custom navigators written for Acrobat 9 cannot be used in Acrobat X and will display differently in Acrobat X and Reader X than you might expect.
Jeka
Registered: Feb 8 2011
Posts: 8
OK... I will generate new navigator project step by step like in this article http://blogs.adobe.com/pdfdevjunkie/ax-portfoliosdk_intro/ax-portfoliosdk1. But when I run my project, its starts on Flash Player (not in NavPreview). What should I do to launch this in NavPreview?