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.

Similar Messages

  • 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.

  • Creative Suite Design Premium - Flash Builder Upgrade

    Hi, I bought the Design Premium product last week and I'm keen to investigate mobile development side of things (we develop Mobile Apps at YARG) but it looks like you need Flash Builder, which you don't get with Design Premium.  I'm new to the Adobe development side of things and a little confused.  With the Flash Professional it says we can build iOS for Air?  What's the main difference between Flash Builder and Flash Professional, is Flash Builder for of a development IDE or can I still build Mobile Apps with Flash Professional?   If you already have the a creative suite can you purchase extra products (like Flash Builder) at a discounted rate - probably no.
    Thanks for any help you can give.

    In the Suites, Flash Builder is in Adobe Creative Suite Web Premium version (NOT Design Premium) or the Master Collection. (I'm not sure whether it's too late to do an exchange: You'd have to call Customer Service.)
    As for your other question, it like a better question for the Flash forums than you'll get here.

  • 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

  • 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>

  • 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.

  • Gradient-Layer with Creative Suite SDK

    Hi,
    i wanna create a gradient-layer with the Creative Suite SDK for AS3. Does anybody have a hint for me, to master this task?

    Have a look at the documentation for the Photoshop Script Listener.
    You'll need to install the script listener, restart Photoshop, create your gradient layer, then convert the script listener output (which is extendscript) to ActionScript.
    Regards

  • 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".

  • 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.

  • Installing AIR3 SDK in Flash Builder 4.5.1 ?????

    Hi All,
    Can anyone help me, with installing AIR3 SDK - Flash Builder 4.5.1, logically, I need to overally the sdk, the way, we use to do with previous version of AIR SDK.
    But no luck
    Thanks,
    Ravi

    Hi Ravi,
    just installed AIR3 SDK at work. I try to recap the steps I did:
    1. Locate the "old" SDKs
    They are located in the Flash Builder directory, in my case this was c:\program files(x86)\adobe\flash builder 4.5\sdks
    2. Make a copy of the previous SDK
    Copy a previous SDK (I used SDK 4.5.1 for that) and rename the copied folder to AIR3SDK (or a different name if you like)
    3. Overwrite the copied (!) SDK with the AIR3 SDK
    Copy  all files from the AIR3 SDK into the copied folder. It should ask you  to overwrite files quite a couple of times. After this, you should have a  working AIR3 SDK installed.
    4. Set a name for the new SDK
    I had to to this with the Beta2 - go to the new SDK directory and edit flex-sdk-description.xml - change the <name> content from Flex 4.5.1 to AIR3 SDK.
    6. Add the new playerglobal.swc from Flash Player 11
    Download the current Flash Player 11 "playerglobal.swc" from http://labs.adobe.com/downloads/flashplayer11.html and put it into the correct folder. From the SDKs root folder this was: <sdkroot>/frameworks/libs/player/11.0/ (I had to create the 11.0 folder myself and then just put the file in there and rename it to plain "playerglobal.swc")
    7. Add the AIR3 SDK to Flash Builder
    Under "Project Settings - Flex Compiler" for a project, choose the new SDK as SDK to use for the project. If the SDK does not show up, go to "configure Flex SDKs", then "Add" and select the newly created folder. The new AIR3 SDK should now be included in the dropdown list as a compiler for that project.
    Don't forget to add -swf-version=13 as a compiler flag on the same screen.
    After doing all this, I was able to use the new features, compile my projects and well, work with it
    Edit: I almost forgot - you also have to set the namespace in your -app.xml to 3.0 like this:
    <application xmlns="http://ns.adobe.com/air/application/3.0">
    Best regards,
    Martin

  • 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.

  • Can i update flex 4.6 sdk to flash builder 4.5 for php ?

    well
    i already downloaded the 4.6SDK from http://www.adobe.com/cfusion/entitlement/index.cfm?e=flexsdk site but once i add the new sdk to flash builder and try to make a new project
    i cannot switch to design mode at all , gives me and erro rmessage: The Design mode is disabled as the project uses incompatible version of the flex SDK.
    What's the deal ?
    have to wait till Q1  / 12 ?
    Cheers
    Lare

    If you're using components specific to the Flex 4.6 release, then it would be a natural assumption that design view will not work.  If you're having this issue while using components that are not unique to Flex 4.6, then I don't have an answer.  On a good note, design view is completely useless anyway.  It's much faster to type than to drag stuff around with your mouse needlessly.

  • 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.

Maybe you are looking for