Flex 2.0.1 patch for Flash CS3 compatibility

Design view doesn't work after you add an SWC compiled with Flash to the library build

After you add an SWC compiled with Flash CS3 Professional to the Flex Builder library build path of the project, design view no longer works.

The Flex debugger does not work with Adobe Flash Player 9 (9.0.45.0) in the Mozilla browser.

Solution

Install the patch that allows the Flex SDK and Flex Builder to use SWF files and SWCs created by Flash CS3 Professional. After you apply the patch, you can take classes and symbols compiled with Flash CS3 Professional and compile them into an application built with flex. You can also take classes and libraries compiled with Flex and use them in a Flash CS3 Professional project.

In addition, this patch allows Flex Builder and the Flex debugger (fdb) to function correctly when running or debugging with Flash Player 9 (9.0.45.0) in the Mozilla browser.

Flex SDK install instructions

The Flex 2.0.1 patch for Adobe Flash CS3 Professional compatibility is delivered as a zipped file containing the following files:

  • swfkit.jar
  • mxmlc.jar
  • fdb.jar

You install the .jar files manually.

To update the SDK on Windows, Mac OS and Unix:

  1. Browse to the \lib directory of the Flex SDK, such as:


    C:\Flex_SDK_2\lib\

  2. Make backup copies of swfkit.jar, mxmlc.jar, and fdb.jar.
  3. Download the flex_201_patch_final.zip file.

  4. Extract the ZIP file to a temporary location.
  5. Copy swfkit.jar, mxmlc.jar, and fdb.jar to the \lib directory of your Flex SDK installation

Flex Builder install instructions

  1. Exit Flex Builder.
  2. Download swfkit.jar, mxmlc.jar, and fdb.jar to a location on your hard drive.
  3. Browse to your Flex Builder Flex 2 SDK installation \lib folder, typically found here:
    • Windows stand-alone: C:\Program Files\Adobe\Flex Builder 2\Flex SDK 2\lib
    • Windows plug-in: C:\Program Files\Adobe\Flex Builder 2 Plug-in\Flex SDK 2\lib
    • Mac OS stand-alone: Applications/Adobe Flex Builder 2/Flex SDK 2/lib
    • Mac OS plug-in: Applications/Adobe Flex Builder 2 Plugin-in / Flex SDK 2/ lib
  4. Make backup copies of swfkit.jar, mxmlc.jar, and fdb.jar.
  5. Copy and paste the downloaded swfkit.jar, mxmlc.jar, and fdb.jar into the SDK lib directory.
  6. Click Yes to replace.
  7. Browse to the lib directory in \com.adobe.flexbuilder.flex_2.0.155577 plug-in, typically found here:
    • Windows stand-alone: C:\Program Files\Adobe\Flex Builder 2\plugins\com.adobe.flexbuilder.flex_2.0.155577\lib
    • Windows plug-in: eclipse\plugins\com.adobe.flexbuilder.flex_2.0.155577\lib
    • Mac OS stand-alone: Applications/plugins/com.adobe.com.flex_2.0.155577/ib
    • Mac OS plug-in eclipse/plugins/com.adobe.flexbuilder.flex_2.0.155577/lib
  8. Make backup copies of swfkit.jar, mxmlc.jar, and fdb.jar.
  9. Copy and paste the downloaded swfkit.jar, mxmlc.jar, and fdb.jar into the plug-in lib directory.
  10. Click Yes to replace.

Get help faster and easier

New user?