Downloading and installing Flex SDK builds from opensource.adobe.com

by Peter deHaan on August 1, 2008

in Flex 3 SDK, Flex Builder 3, Flex SDK, Nightly Builds, beta

The Flex SDK is constantly changing and improving. Every day bugs are getting fixed, features are being added or improved. If you want to use the latest code, you’ll need to know where to download the Flex SDK from and how to add the new SDK to Flex Builder.

New builds of the Flex SDK can be downloaded from the Flex SDK Downloads page on the opensource.adobe.com site. Currently, this page gives you links to download the latest Gumbo nightly build, the latest Flex 3 nightly build, or the various Flex 3 Compiler Modules. There are three main SDK build types:

  • Latest Milestone Release Builds — Releases are builds that have been declared major releases by the development team – Releases are the right builds for people who want to be on a stable, tested release, and don’t need the latest greatest features and improvements. There are generally a few milestone releases on a given branch and will be signified by incrementing the first minor number (e.g., 3.1).

    The Flex team creates signed versions of the major RSLs for every milestone release.

  • Stable Builds — Stable builds have been found to be stable enough for most people to use. They are promoted from nightly build by the architecture team after they have been used for a few days and deemed reasonable. The latest stable build is the right build for people who want to stay up to date with what is going on in the latest development stream, and don’t mind putting up with a few problems in order to get the latest and greatest features and bug fixes. The latest stable build is the one the development team likes people to be using because of the valuable and timely feedback; however it should be understood that the only fully supported versions are milestones (e.g., Adobe technical support supports milestones, though may point to fixes in stable builds) . The development team attempts to put out a stable build on active branches within 60 days of each other. Stable builds are signified by incrementing the second minor number (e.g., 3.0.1).

    The Flex team dos not currently create signed versions of the major RSLs for stable builds as it would begin negating the value of the framework cache (that said, we’ll be keeping an eye on things and re-evaluating as necessary).

  • Nightly Builds — Nightly builds are produced every night from whatever has been released into the HEAD of the SVN repository. They are untested and may have problems. Some possibly will not work at all. These drops are normally only useful to developers actually working on the Flex Project, but may be used to monitor how a given feature is progressing. Nightly builds follow the numbering of the last stable build, with only the third minor number incrementing (and matching the last revision number from Subversion).

[source opensource.adobe.com: SDK Build Types]

The next important thing to understand is the different types of Flex SDKs available:

  • Free Adobe Flex SDK — An official Adobe product, with released versions found at http://www.adobe.com/go/flex3_sdk. The Adobe Flex SDK contains everything you will need to build and deploy Flex RIAs. It is licensed under the Adobe Flex SDK license because it contains a mixture of open and closed source components (see license info above). The Flex framework source code included in this package is called out explicitly as licensed under the MPL. However, if you want just the open source stuff, you should look at the Open Source Flex SDK.
  • Open Source Flex SDK — For users who want a package that contains only open source code, we offer the Open Source Flex SDK, which is available from this site. This package is entirely under the MPL, including its binaries. It contains the majority of the Flex SDK (compilers, framework, debugger) but does not include anything that is not open source like the Adobe Flash Player, Adobe AIR, or the advanced font encoding libraries. This SDK is capable of creating Flex applications and can be used in whatever fashion the MPL allows. If you have questions regarding the use of code licensed under the MPL, you should consult with an attorney.
  • Adobe Add-ons for Open Source Flex SDK — This package contains all of the items that are in the Adobe Flex SDK and not in the Open Source Flex SDK. Downloading this file will allow you to bring the Open Source Flex SDK to parity with the Adobe Flex SDK. This package includes the Adobe Flash Player, Adobe AIR, the advanced font encoding libraries, and the code that allows licensing of things like the Data Visualization components. All of these elements are licensed under the Adobe Flex SDK license.

[source opensource.adobe.com: Flex SDK Downloads]

Downloading and installing Flex SDK builds into Flex Builder 3

  1. To download the Flex 3 SDK, navigate to the following URL:
    http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+3/
  2. Download the latest nightly build. You can download either of the available SDK types (Adobe Flex SDK, Open Source Flex SDK, or Adobe Add-ons — see the previous list for explanations between the differnt types). For this example I am downloading the latest nightly build of the Adobe Flex SDK.
  3. Save the nightly build to your hard drive and extract the files from the .ZIP file
  4. In Flex Builder 3, select Window > Preferences from the main menu to open the Flex Builder Preferences dialog box. To add, edit, or remove a Flex SDK, select Flex > Installed Flex SDKs.
  5. Click the Add button to launch the Add Flex SDK dialog box and click the Browse button to navigate to the directory where you extracted the nightly SDK build in a previous step.
  6. Click OK to apply your changes and add the new Flex SDK. If you want to set the newly downloaded SDK as your default SDK, click the check box to the left of the SDK name. Click OK to dismiss this dialog.

That’s it! You’ve successfully downloaded and installed the latest and greatest version of the Flex SDK into Flex Builder.

If you want to compile your code against this new SDK you can select Project > Properties from the main menu, select Flex Compiler from the menu on the left, and select your new SDK from the dropdown menu in the Flex SDK version section.

Also worth mentioning is that you can manage your installed SDKs via the Project Properties dialog menu by clicking the Configure Flex SDKs link, which takes you to the Installed Flex SDKs preferences.

Happy Flexing!

{ 22 comments… read them below or add one }

1 Brian August 7, 2008 at 12:13 pm

Very cool article…like the blog too.

Reply

2 Reda Makhchan August 21, 2008 at 3:52 am

Thks Peter,

I’ll try to upgrade it now ;), because I’ve tried an SDK 3.1.0.2710 and it show me “This component is based on ?????, which is not a visuel component. Switch to source mode to edit it.”

When I be back to SDK 3.0, It doesn’t show that msg…

thks Peter,

Reply

3 Reda Makhchan August 21, 2008 at 3:59 am

Still having the same msg, I’ve tested todays version of SDK 3.2.0.2919 “Thu Aug 21, 2008″

I think I miss something like copy some files from 3.0 SDK, any Idea?

Thks in advance,

Reply

4 peterd August 21, 2008 at 8:07 am

Reda Makhchan,

Can you file a bug against the Flex SDK at http://bugs.adobe.com/flex/ and include your source code that works in the Flex SDK 3.0 but not in 3.1 or 3.2?
Also, if you post the bug number here, a few of us can vote/subscribe to the issue.

Thanks,
Peter

Reply

5 Brian September 5, 2008 at 11:46 am

Peter,

Do you happen to know why the nightly builds do not include any of the charting components? We use flex charts but would like to upgrade to new versions of the sdk, however, using the ones on the open source site won’t compile due to the missing charts. When you download flex builder 3.0, it comes with the charts embedded in the sdk.

Thanks,
Brian

Reply

6 peterd September 5, 2008 at 1:14 pm

Brian,

Good question. I believe this is the answer you are looking for, “Using Flex 3 Builds in Flex Builder”:

If your application uses Flex Builder Professional features such as data visualization components or automated testing, you will need to copy those elements from the latest milestone SDK that came with Flex Builder into your newly downloaded SDK. The relevant files that you need to copy are:
{sdkdir}/frameworks/libs/automation*.swc
{sdkdir}/frameworks/libs/datavisualization.swc
{sdkdir}/frameworks/locale/en_US/automation*.swc
{sdkdir}/frameworks/locale/en_US/datavisualization_rb.swc
{sdkdir}/frameworks/locale/ja_JP/automation*.swc
{sdkdir}/frameworks/locale/ja_JP/datavisualization_rb.swc
{sdkdir}/frameworks/rsls/datavisualization_3.0.0.477.* (or updated build numbers for later builds)
{sdkdir}/fbpro (if you care about source)

Peter

Reply

7 Brian September 11, 2008 at 7:34 am

Hi Peter,

Thanks for the response. With the nice feature Flex builder has for installing different SDKs, it would be nice if it is all bundled together. This makes it more challenging for upgrading to a new version for a large team of developers. Are there any downfalls to upgrading to a new version of rpc.swc without a matching version of the BlazeDS jars?

Brian

Reply

8 Trevor October 30, 2008 at 3:59 am

Hi there,

After I’ve installed and switched to SDK 3.1.0, I’ve lost my accessibility to flash library. (ex. when I write “import flash.” I see just “errors” as a suggestion nor events, nor display etc.) Is it normal? Can you help me how can I add the entirely flash lib in to my all projects like before.

Thanks for now
Trevor

Reply

9 peterd October 30, 2008 at 8:42 am

Trevor,

I haven’t seen that personally. Did you update to 3.1.0 using Flex Builder updater? Or did you manually download/install the SDK from the opensource.adobe.com site?

Can you try downloading the latest 3.2.0 build from http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+3 and see if you still have that problem. If so, I can try downloading the same SDK into my Flex Builder 3.1.0 and see if I have the same problem.

Peter

Reply

10 Valentin November 13, 2008 at 12:39 am

Trevor,
Here is the reciept:
Windows + Flex SDK 3.1.0.2710 + Flex Builder 3.0.194161
To fix it:
1) move /frameworks/libs/player/9/playerglobal.swc to /frameworks/libs/player/playerglobal.swc
2) edit /frameworks/flex-config.xml

libs/player/playerglobal.swc

Reply

11 Valentin November 13, 2008 at 12:43 am

Sorry, xml was cutted
find node external-library-path in /frameworks/flex-config.xml
and replace libs/player/{targetPlayerMajorVersion}/playerglobal.swc with libs/player/playerglobal.swc,
that’s all

Reply

12 Gurpreet Singh February 8, 2009 at 6:59 am

Hi Peter,

Nice article and blog.

I am new to flex development.
I am looking for information about fix to following bug:
https://bugs.adobe.com/jira/browse/SDK-14669

It is mentioned that fix will be release in Gumbo SDK.
Questions:
Is Gumbo SDK officially released?
If yes, then why the bug is still open?

Thanks,
Gurpreet Singh

Reply

13 Peter deHaan February 8, 2009 at 8:00 pm

Gurpreet Singh,

I’m not familiar with that bug, but I can answer your questions.
1) Flex “Gumbo” is not officially released. It is still in alpha/beta, although you can download the nightly builds of the Flex Gumbo SDK from http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4
Flex Gumbo is currently scheduled to be released in the second half of 200, at least ccording to the following page: http://opensource.adobe.com/wiki/display/flexsdk/Gumbo

2) The bug is still open because it hasn’t been fixed yet, but it should be fixed before Flex Gumbo ships.

Peter

Reply

14 sugar April 5, 2009 at 1:28 am

Hi Peter, Thanks for your cool article!

Here I met a problem when I try to instal Flex SDK(flex_sdk_4.0.0.5931). I followed your steps, step 1 to 4 was successful, but when I try the step 5, it says “Directory does not contain a Flex SDK” . It’s so pity that I spend many hours on it, but no result.

May be it’s a fool question, but I really hope you can give me some ideas.

Thanks in advance!

Reply

15 Peter deHaan April 5, 2009 at 8:14 am

sugar,

It looks like 5931 is a bad build. I get the same error message when trying to add the SDK to Flex Builder. I did download and successfully use build 5900 though.

Sorry, I’ll see if we can remove build 5931 from the list of nightly builds.

Peter

Reply

16 Eric April 14, 2009 at 8:30 am

Hi Peter:

Thanks for all the great info you provide.

I need to get started with Gumbo, and I need to use the data visualization and automation components. BTW, I own Flex Builder Professional.

I’ve downloaded Gumbo and built a simple project successfully, but don’t know where to find the right libraries for data visualization and automation. In your response to Brian above, you mention copying these files from the latest milestone release, which works for me in 3.x.

What should I do for 4.x? I’ve searched on the web for an answer, but so far have come up empty.

Thanks,
Eric

Reply

17 peter July 19, 2009 at 11:17 pm

Hey,
nice blog, really!
Is there an option or a compiler setting to hide the embed file in the release build? In fact I would like have just one big file instead of having a couple of files and img-directories!

Regards,
pete

Reply

18 Peter deHaan September 24, 2009 at 10:16 am

It’s from Flash Builder 4 beta, but the “Add” button is in the upper-right corner of the Installed Flex SDKs dialog:

Peter

Reply

19 Ahmed October 23, 2009 at 11:30 am

Hi Peter

can one use flex sdk on Oracle Developer 11g IDE?

Thanks

Reply

20 Mikael November 30, 2009 at 4:08 am

When running an air application with free adobe flex 4 SDK in flex builder 3 i get this error:

Failed to load RSL osmf_4.0.0.12222.swf
Failing over to RSL http://fpdownload.adobe.com/pub/swz/flex/4.0.0.12222/osmf_4.0.0.12222.swf
Error #2032: Stream Error. URL: http://fpdownload.adobe.com/pub/swz/flex/4.0.0.12222/osmf_4.0.0.12222.swf

??

Reply

21 Peter deHaan November 30, 2009 at 8:05 am

@Mikael,

I haven’t seen that before, but can you please file a bug against the Flex SDK at http://bugs.adobe.com/flex/ and somebody from Adobe can take a look at it.

Thanks,
Peter

Reply

22 Jochen Szostek December 9, 2009 at 5:27 am

FYI: I get this error “Error #2032: Stream Error. URL: http://fpdownload.adobe.com/pub/swz/flex/4.0.0.12222/osmf_4.0.0.12222.swf” too when I move my compiled swf in another folder without osmf_4.0.0.12222.swf.

Reply

Leave a Comment

Sorry, this blog is terrible at eating HTML comments.
If you're pasting any HTML/XML/MXML code, you need to convert your < characters to &lt; and your > characters to &gt; .

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Anti-Spam Protection by WP-SpamFree

Previous post:

Next post: