2 Replies Latest reply on Nov 28, 2012 2:27 AM by sal_iqkhn

    Use CS Extension builder 2 for extension built in CS Extension builder 1.5?

    sal_iqkhn Level 1

      Hello all

       

      I have developed an InDesign extension in CS extension builder 1.5. But now I need to use CS Extension builder 2 for using its new features. I have installed CS extension builder 2 but my project still does not include new libraries. I want to set PNGExportPreference which is available in Extension builder 2 only.

      How can I make it include library for PNGExportPreference?

       

      Can anybody help me out?

       

      Best regards

      Sal

        • 1. Re: Use CS Extension builder 2 for extension built in CS Extension builder 1.5?
          Harbs. Adobe Community Professional & MVP

          PNGExportPreferences is a CS6-only feature. You cannot use it in previous versions. If you need a cross-version plugin, I'd advise running the version dependent code in ExtendScript.

           

          Harbs

          • 2. Re: Use CS Extension builder 2 for extension built in CS Extension builder 1.5?
            sal_iqkhn Level 1

            I’m using this inDesign extension in CS6, setting the flex compiler SDK to flash builder 4.5, the application crashes throwing following error :

             

            VerifyError: Error #1053: Illegal override of preinitializeHandler in com.adobe.csxs.core.CSXSWindowedApplication.

             

                      at flash.display::MovieClip/nextFrame()

                      at mx.managers::SystemManager/deferredNextFrame()[E:\dev\hero_private\frameworks\projects\fr amework\src\mx\managers\SystemManager.as:284]

                      at mx.managers::SystemManager/preloader_preloaderDocFrameReadyHandler()[E:\dev\hero_private\ frameworks\projects\framework\src\mx\managers\SystemManager.as:2633]

                      at flash.events::EventDispatcher/dispatchEventFunction()

                      at flash.events::EventDispatcher/dispatchEvent()

                      at mx.preloaders::Preloader/timerHandler()[E:\dev\hero_private\frameworks\projects\framework \src\mx\preloaders\Preloader.as:515]

                      at flash.utils::Timer/_timerDispatch()

                      at flash.utils::Timer/tick()

             

            I am using "CSXSWindowedApplication" as application container in main application file:

             

            <csxs:CSXSWindowedApplication xmlns:csxs="com.adobe.csxs.core.*"   xmlns:mx="http://www.adobe.com/2006/mxml" > ...

             

            How can I remove this error?

             

            Best regards

            Sal