Home > Flash, Flex > Flex 3 as CS4 development tool

Flex 3 as CS4 development tool

January 23rd, 2009

Are you as me and using Flex as a development tool and just switched to CS4 development. Well, no problem, you can still use Flex for your coding and debugging.

First you need to download and install Gumbo for flex.
1.) Download Gumbo: http://opensource.adobe.com/wiki/display/flexsdk/Downloads
2.) Place it inside the Flex SDK folder: /Applications/Adobe Flex Builder 3/sdks
3.) Go into the library directory: /Applications/Adobe Flex Builder 3/sdks/{sdk version}/frameworks/libs/
Remove all files except the /player/10/playerglobal.swc.
Before: flex_sdk_before After:

flex_sdk_after1

4.) Open the “flex-config.xml” in the /Applications/Adobe Flex Builder 3/sdks/{sdk version}/frameworks/ folder
Replace the text “{targetPlayerMajorVersion}” with “10″.

5.) Open/Restart Flex and add the SDK to flex: Preferences/Flex/Installed Flex SDKs
flex_add_sdk_1

6.) Create a empty ActionScript Project, In the window make sure to change the SDK (use a specific SDK).

Now you should be able to use Flex Builder as a code editor when building Flash CS4 projects. You can also look on how to develop for CS3. A tip is not to click finish, click the next button and in the field “Main source folder” enter src. Cleaner place for putting the fla & as files.

Flash, Flex , , , ,

  1. limeyd
    February 12th, 2009 at 23:24 | #1

    Nice tip but how do you get the fl.* added? tried cs3 route but failed?

    Lets us know if you have any thoughts.

  2. admin
    February 13th, 2009 at 10:04 | #2

    Actually, I never tried that one =/
    I’m guessing that compiling a swc package of all the flash components code form /Adobe Flash CS4/Common/Configuration/Component Source/ActionScript 3.0/* should do it. When I have some time I will try it out.

  3. April 28th, 2009 at 15:47 | #3

    Thanks a lot man, just what I needed. It works! Syntax highlighting and imported packages are not ideal yet, but at least it’s a lot better then working in flash :)

  1. No trackbacks yet.