Error using Acrobat portfolio SDK with Flash Builder

Hi all
I've been trying to customize a navigator portfolio for Adobe Acrobat X using Flash Builder 4.5. I was running this proyect as Navigator but I received the following Flash Player error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at acrobat.navhost.app::SingleNavApp/set productConfig()[C:\dev\A10_1R1_Sandbox\Acrobat\Viewer\AcroView\Portfolio\Flash\Libs\NavHo stUtil\src\acrobat\navhost\app\SingleNavApp.as:333]
at com.adobe.app::AppPrefsBinding/productConfig()[C:\dev\A10_1R1_Sandbox\Acrobat\Viewer\Acro View\Portfolio\Flash\Libs\NavPreviewShared\src\com\adobe\app\AppPrefsBinding.as:93]
at com.adobe.app::AppPrefsBinding/refresh()[C:\dev\A10_1R1_Sandbox\Acrobat\Viewer\AcroView\P ortfolio\Flash\Libs\NavPreviewShared\src\com\adobe\app\AppPrefsBinding.as:76]
at Function/<anonymous>()[E:\dev\4.x\frameworks\projects\framework\src\mx\binding\utils\Bind ingUtils.as:180]
at mx.binding.utils::ChangeWatcher/wrapHandler()[E:\dev\4.x\frameworks\projects\framework\sr c\mx\binding\utils\ChangeWatcher.as:557]
at flash.events::EventDispatcher/dispatchEventFunction()
I've installed Acrobat portfolio SDK into Flash Builder and I have followed the documentation of Building a Navigator from http://learning.adobe.com

Ok, finally got this working.  Many hidden gotchas. 
1.  You have to make a Trust File for your custom panel.  This is actually in the SDK, around page 53, so my bad -- but the problem is that there is no feedback from the Adobe application if you don't have this.  The application just hangs.  It should produce an error message "can't find trust file, etc.".  This should not be that hard to implement.
2.  The latest Flex SDK does not seem to work in Bridge CC or other similar applications.  You have to use Flex SDK 3.x, apparently, and this is NOT in the documentation.  Not only should you set the default SDK in Flex Builder to 3.x (I'm using 3.6) but you have to edit the build.properties file to make sure it's pointing to the correct folder, eg: C:/Program Files/Adobe/Adobe Flash Builder 4.7 (64 Bit)/sdks/3.6.0.  Fortunately Flash Builder 4.7 comes with 3.6 installed.  If you have an older version, it's likely to be completely different.
More info in this thread: http://forums.adobe.com/thread/1114153.

Similar Messages

  • Using latest FileInfo SDK, latest Flash Builder, new project crashes in latest Bridge

    I've been trying to create a custom panel in Adobe Bridge.  I downloaded the XMP-FileInfo-SDK-CS6, loaded the jar file into Adobe Flash Builder 4.7 (latest version), created a new project with NO modifications, and published it to the correct Custom File Info Panels folder on Windows 7.  I then restarted Bridge, opened FileInfo in a photo, but when I navigated to the new panel that I just created, it fails to load correctly and hangs the entire application.  The only way to close the window is to restart Bridge.
    So just to be clear -- latest SDK, latest Flash Builder, latest Bridge version, new project, no modifcation, completely crashes Bridge.  The GenericPanel is about the only thing that works without problem, but it's a little too limited for what I want to do (no business logic). 
    Not very reassuring that this is going to work at all.  Has anyone else experienced this?  Is there any workaround, or update I can try instead?
    Thanks.

    Ok, finally got this working.  Many hidden gotchas. 
    1.  You have to make a Trust File for your custom panel.  This is actually in the SDK, around page 53, so my bad -- but the problem is that there is no feedback from the Adobe application if you don't have this.  The application just hangs.  It should produce an error message "can't find trust file, etc.".  This should not be that hard to implement.
    2.  The latest Flex SDK does not seem to work in Bridge CC or other similar applications.  You have to use Flex SDK 3.x, apparently, and this is NOT in the documentation.  Not only should you set the default SDK in Flex Builder to 3.x (I'm using 3.6) but you have to edit the build.properties file to make sure it's pointing to the correct folder, eg: C:/Program Files/Adobe/Adobe Flash Builder 4.7 (64 Bit)/sdks/3.6.0.  Fortunately Flash Builder 4.7 comes with 3.6 installed.  If you have an older version, it's likely to be completely different.
    More info in this thread: http://forums.adobe.com/thread/1114153.

  • Creative Suite SDK with Flash Builder 4 tutorial

    Hi,
    For those of you new to the Creative Suite SDK, I've posted a video tutorial in our blog that walks you through all the steps necessary to build an extension using the SDK and Flash Builder 4. It shows you how to get set up with the SDK, create a new project, run and debug the extension in development mode and export it for distribution.
    You will find the recording in the Creative Suite SDK Team blog.
    Maria

    I'm building an InDesign extension using Flash Builder. I have everything working as per the tutorial, but the code-debug cycle is very long. Every time I make a code change, if I want to run it in the debugger, I have to do all of this:
    Save my file, confirm there are no Errors, set my breakpoints.
    In the Finder (I'm on OSX), copy the SWF to the extensions folder.
    In Flash Builder, from the "Run" menu, choose "Debug", then "Other..." The Debug Configurations dialog appears.
    In the Debug Configurations Dialog, select my configuration (which works) and click Debug. The "Installed Adobe Flash Player Is Not a Debugger" dialog appears.
    In the "Installed Adobe Flash Player Is Not a Debugger" dialog, click Yes. The dialog closes
    Launch InDesign. Wait for it to launch.
    Run my extension, stop at my breakpoints, do my debugging.
    Quit InDesign
    Is there any way to set up the debugger to connect to CS5 without having to quit and relaunch the CS5 app itself?
    Is there any way to make my debug configuration the default in Flash Builder, so I can just hit command-F11 to debug?
    Is there any way to automate copying the SWF into the extensions folder?
    Thanks in advance.

  • Incorrect ADT version when compiling using updated AIR SDK in Flash Builder

    I was wondering if anyone else has come across adt version issues when compiling with Flash Builder.
    I just downloaded Flash Builder 4.7 (I had 4.6 installed previously).  I upgraded due to AIR SDK issues when trying to send my app to iOS.  I downloaded AIR 3.7 SDK and done the whole "overlay" described here http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html but when trying to compile it Flash Builder, it states that version 3.7 is not only up to 3.1  I did a check of the adt that is being used (adt -version) and it returns back that it is version 3.1  This is the one contained within the sdks/4.6.0/lib folder.  If I copy the one from the AIRSDK folder and check the version on that 3.7 comes up correctly, but it needs files that are contained in the AIRSDK folder, so I'll need to copy more than just the adt.jar file.
    Really I'm just trying to see if anyone knows what I can change in Flash Builder to point to the AIRSDK folder instead of the sdks/4.6.0/lib folder so I'm not constantly updating my adt.jar file each time I install a new AIR SDK.

    OK, not the best solution (hopefully someone will be able to tell me where to update Flash Builder to point to the AIRSDK directory instead of {FB install dir}/sdks/4.6.0/lib, but until then, here's a work around.
    First make sure to backup your old aot and android directories in your {FB install dir}/sdks/4.6.0/lib and your original adt file (I just renamed them to fileOrDir_original)
    Then copy your adt.jar file, aot dir, android dir, and I copied legacy dir also to your {FB install dir}/sdks/4.6.0/lib
    You should now be able to compile using the 3.7 AIR SDK.  There's another fix for PIE in AIR 3.8, so I may be updating again soon to the labs build.  I'm hesitant to copy any more files over in case it stops my non-mobile AIR builds from working, but hopefully this will be good enough for mobile builds and for anyone else having this issue in Flash Builder.

  • Workaround for using the latest nightly SDK 4.0 builds with Flash Builder Beta 2

    The latest builds of SDK 4.0 have been updated in preparation for including playerglobal.swc for Flash Player 10.1. Flash Builder Beta 2 can not find playerglobal.swc due to the addition of the {targetPlayerMinorVersion} variable found in the flex-config.xml file.
    When using recent nightly SDKs with Flash Builder Beta 2, please modify them as follows:
    1) Rename the folder <nightly sdk location>/frameworks/libs/player/10.0 to "10"
    2) Edit the file <nightly sdk location>/frameworks/flex-config.xml and remove ".{targetPlayerMinorVersion}" and save
    When you restart Flash Builder, we will now find a correct location for playerglobal.swc, allowing for code hints and many other features to work properly.
    Jason San Jose
    Quality Engineer, Flash Builder

    Bump.
    As people continue to have problems with the nightly SDK 4 builds and Flash Builder Beta 2, please remember to use the workaround described at the top of this thread. Also see http://blogs.adobe.com/jasonsj/2010/02/workaround_for_using_the_latest_nightly_sdk_40_buil ds_with_flash_builder_beta_2.html.
    Jason San Jose
    Quality Engineer, Flash Builder

  • AIR 2.6 SDK incompatible with Flash Builder 4?

    I just installed the new AIR 2.6 SDK but FB4 complains that every swc file in the libs folder is "incompatible with this SDK" when I switch to design view. The application compiles and runs fine, I just can't see it in design view in FB4.
    Is anyone else experiencing this issue? I tried deleting my Flash Builder 4 folder from C:\Users\<username>\ and restarting FB4 in case it was a dodgy profile, but it made no difference.
    Any help would be appreciated. Thanks in advance.

    from http://blogs.adobe.com/cantrell/archives/2011/03/how-to-use-air-2-6-with-flash-builder-4.h tml:
    Right-click on your project and choose "Properties".
    Select the "Flex Compiler" section.
    In the "Additional compiler arguments" field, add -target-player=11.
    Click "OK".

  • Creating Portfolios with Flash Builder 4.6 and the 4.1a SDK

    I've been following the instructions and tutorials on the creation of Navigators for Acrobat with Flash Builder but it seems to be missing a few steps along the way.
    http://blogs.adobe.com/pdfdevjunkie/ax-portfoliosdk_intro/ax-portfoliosdk1
    Symptoms:
    - When I run the navigator (run as navigator) I get an error "Error: Error #2067: The ExternalInterface is not available in this container. ExternalInterface requires Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or other browsers that support NPRuntime."
    - Once dismissed the "for the best experience" message is displayed with a prompt to download the latest Reader.
    Correct SDK's are being used.

    Solved it.  Just added the following in the <InfoAdditions> tag for iPhone in my app descriptor XML file:
      <key>UIRequiredDeviceCapabilities</key>
    <array>
    <string>wifi</string>
    <string>armv6</string>
    <string>armv7</string>
    </array>

  • Install Acrobat Portfolio SDK and plugins in your Flash Builder programming environment

    Hello, Experts
        how would I go about introducing Acrobat Portfolio SDK and plugins to the Flash Builder programming environment ?
    -Alex

    https://learn.adobe.com/wiki/display/PDFNAV/Installing+Acrobat+Portfolios+SDK

  • Project built with Flash Builder 4.6_Flex SDK, didn't work on Flash Builder 4.7_AIR SDK

    I have developed a project on flash builder 4.6 as a new action script project and I chose web & Flex SDK 4.6 (default), and now with Flash Builder 4.7, the project won't run, and the package available is AIR SDK only.. no flex!!

    Open your .actionScriptProperties file and set useFlashSDK to false.  This will allow you to use your older SDKs.  They are managed in the same way as Flash Builder 4.6 when this option is changed.

  • ActionScript syntax errors are not detection with Flash Builder 4

    I encountered a serious bug with Flash Builder 4, it is not showing ActionScript syntax error within an ActionScript class. How shall I fix this.
    Best Regards,

    Hi Mayank,
    Please find the further details below:
    Steps to Reproduce the bug:
    1. Create a Flex Project (say Test for example)
    2. Created a new ActionScript Class ABC.as within the Flex Project.
    on typing the following code (and even after saving it)
    package123 {
      public1234 class ABC {
      }blahblah123...
    Expeteded Behavior:
    ActionScript Editor should report an syntax errors with the following code.
    Present Beharvior
    no syntax error is detected. This is a regression in Flash Builder 4 as Flex Builder 3 detects ActionScript syntax error instantly (while typing).
    Best Regards

  • Flex 4.5 SDK in Flash Builder 4.0

    I am attempting to use the Flex 4.5 SDK in Flash Builder 4.0, as my company does not yet have FB4.5.  Everything seems ok, however whenever I try to use the <s:ViewNavigatorApplication>  or the <s:View> Flash builder does not seem to recognize them, I am not getting any code hinting. I undersand the design view would not work, but as far as code view, FB should not know the differnece.  Does anyone know why they might not be showing up in FB 4.0. I can't seem to find anything on the net about it.

    Just tried this out on an IIS server with Flash player 10.3.181.14 - it worked.
    Are you using the release version of Flash Builder 4.5 with the release version of Flex SDK (not a prior SDK build)?
    The URL you mentioned gives me a 403 forbidden error.
    -Anirudh

  • Overlaying adobe air sdk in flash builder 4.6

    After overlaying adobe air sdk in flash builder 4.6 i am getting this error in my flex mobile project "Could not resolve <s:ViewNavigatorApplication> to a component implementation.". I have followed the steps mentioned on this link "http://rubberduckygames.com/how-to-overlay-abode-air-sdk-over-flex-sdk/". Can anyone please suggest me what i need to do in order to get this work.

    Finally Figure it out..
    geo = new Geolocation();
    geo.addEventListener(GeolocationEvent.UPDATE, onLocationUpdate);
    has to be executed before checking if it is muted.
    geo.addEventListener(GeolocationEvent.UPDATE, onLocationUpdate);
    Is what requests permissions from the phone to use the gps.
    Hope this saves someone alot of time.
    Tested With Flex 4.9.0 Air 3.8 Beta.

  • Developing for 'Air for TV' with Flash builder 4.5?

    How can I target Adobe Air 2.5 when using Flash Builder 4.5 so I can develop for Adobe Air for TV?
    When I change the app.xml file to point to 2.5, I get the following error:
    "Namespace 2.5.0 in the application descriptor file should be equal or higher than the minimum version 2.6.0 required by Flex SDK."

    I was finally able to get my app on a Samsung TV. Here's some more info on this subject. You actually have to overlay the Air 2.6 SDK - not the 2.5 SDK.
    Also make sure when you finally package the TV app to change the application XML to point to 2.5,. During development you can leave it as 2.6.
    @see http://learn.adobe.com/wiki/display/airquestions/AIR+for+TV
    What tools do developers use to create AIR 2.5.1 apps for TVs?
    Developers can use the following tools:
    AIR 2.6 SDK
    Flash Professional CS5 Extension for AIR 2.5 (now an integral feature in Flash Professional CS5.5)
    Flash Builder 4.5
    Note: Developers can use the AIR 2.6 SDK for developing apps for AIR 2.5.1 for TV. In Flash Professional, set the publish settings to Adobe AIR 2.5. In Flash Builder, set the AIR namespace to 2.5 in the app descriptor file:
    <application xmlns="http://ns.adobe.com/air/application/2.5">.
    If you are using Flash Builder 4.5, you must do the following:
    Download the Flex 4.1.0.16076 SDK.
    Download the AIR 2.6 SDK.
    Copy each file from the AIR 2.6 SDK into the corresponding directory within the Flex 4.1 SDK, replacing the Flex original variants.
    To use this SDK within Flash Builder, select your project in the Flash Builder package explorer.
    Choose Project > Properties to open the project's Properties dialog box.
    Select Flex Compiler in the list and then click the "Configure Flex SDKs" link to open the Preferences dialog box.
    Click the Add button, browse to the SDK, and then click OK until you get back to the project's Properties dialog box.
    Click the "Use a specific SDK" option and then pick Flex 4.1 from the drop-down menu.
    You must also replace the default WindowedApplication element with Application in your project's MXML file.

  • Adobe AIR 2 Beta with Flash Builder 4 Beta 2

    I'm trying to figure out how to use AIR 2 with Flash Builder 4.  I was initially under the impression that FB4 has AIR2... but the when I create a File object and try to call the function openWithDefaultApplication().  An error occurs saying the function doesn't exist.  This is the AIR application I created in FB4.  Am I doing something wrong or do I need to install AIR 2 somehow -- and if so, how do I do so?
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                                xmlns:s="library://ns.adobe.com/flex/spark"
                                xmlns:mx="library://ns.adobe.com/flex/halo">
         <fx:Script>
              <![CDATA[
                   private function launch():void{
                        var myfile = new File("C:\Windows\notepad.exe");
                        myfile.openWithDefaultApplication();
              ]]>
         </fx:Script>
         <s:Button x="439" y="155" label="Button" mouseDown="launch()"/>
    </s:WindowedApplication>
    Thanks in advance.

    Download the AIR 2 SDK, make a new copy of the Flex4 SDK (or whichever Flex SDK you want to use) and copy the AIR SDK over it. (If you are on the Mac, you have to be careful that the directories themselves aren't overwritten -- just the files inside them.) You then add the combined SDK to the list in the Flash Builder project properties dialogs.

  • Starting iOS development with Flash Builder 4.6

    Hi guys,
    I want to start iOS development with Flash Builder 4.6. I have iPad 2 with iOS 6 installed (latest version available).
    I was following this tutorial step by step: http://help.adobe.com/en_US/flex/mobileapps/WS064a3073e805330f6c6abf312e7545f65e-8000.html #WSe4e4b720da9dedb5-27e02e9a12ee20e4a60-7fff
    As a part of it I also did this:
    Convert a developer certificate into a P12 file - http://help.adobe.com/en_US/as3/iphone/WS144092a96ffef7cc-371badff126abc17b1f-7fff.html
    Installed AIR SDK version 3.4.0.2540 as for 4.5 (I have 4.6) - http://helpx.adobe.com/flash-builder/kb/error-run-debug-deploy-ios.html
    I try Now I am getting the follwoing errors:
    Error occurred while packaging the application:
    SDK is missing file /Applications/Adobe Flash Builder 4.6/sdks/4.6.0/lib/aot/lib/AIRInterpreter
    Error occurred while packaging the application:
    SDK is missing file /Applications/Adobe Flash Builder 4.6/sdks/4.6.0/lib/aot/bin/ld64/i686-apple-darwin9-ld64
    Required files are missing indeed. But where can I find them if AIR SDK doesn't have them? What should I do now?

    All the files in lib/aot/ are part of the AIR sdk.
    You'll have to overlay the AIR sdk on top of the Flex SDK (which comes with FlashBuilder).
    On windows, simply copy-paste the AIR folder on the Flex SDK folder. (merge the two folders)
    On mac, use a command line and ditto the AIR sdk folder on Flex SDK folder.

Maybe you are looking for