Upgrading Flex Builder to Flex SDK 3.1
Maybe I am not subscribed to the proper notifications, but until last night I had no idea that there was a new Flex SDK version. You would think that since I purchased the application, my email address would become part of a notification list for upgrades. They certainly email me frequently about Creative Suite upgrades. Who knows.
I was having an issue where when I right-clicked on my episend message elements, the cursor would disappear after the menu went away. I tried all different combinations of CursorManager.ShowCursor(), CursorManager.RemoveAllCursors(), and Mouse.Show() in all different events. Nothing. So I did a search in Google and came across a list of bugs that was fixed in SDK 3.1. Wait a minute. Fixed as in past tense as in 3.1 already exists.
So I did a search for Flex SDK 3.1 and found the general Flex download page where you can download the Flex SDK or a trial version of Flex Builder. I couldn’t find much about upgrading an existing FlexBuilder installation to SDK 3.1. They have a page where Matt Chotin talks about upgrading to Air 1.1 (http://www.adobe.com/devnet/flex/articles/flex_air1.1.html and on that page he links to instructions for upgrading your SDK, but it must be a wrong link because I did not see instructions on the page he provided: http://livedocs.adobe.com/flex/3/html/build_6.html#162812. So I will give you the process I took to upgrade my SDK. It worked on both my home machine and office machine, one XP and the other Vista.
1) Download the 3.1 SDK zip file to your PC. The direct link to the SDK is:
http://download.macromedia.com/pub/flex/sdk/flex_sdk_3.zip
If that link doesn’t work for you, go to the general download page (http://www.adobe.com/products/flex/flexdownloads/), check the box that you agree to whatever they are asking you to agree to, and download the SDK.
2) Close Flex Builder and any running Flex or Air apps you have running.
3) Hopefully you have WinZip or another such unzipping tool and aren’t relying on the built-in Windows unzipper. You want to unzip the contents of the zip file, while preserving the directory structure and overwriting existing folders and files, to the SDK directory in your Flex setup. For me, this was c:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0 .
4) Launch Flex Builder and verify the new version by right clicking a project, clicking Properties, and selecting Flex Compiler. You should see “currently ‘Flex 3.1′” as your SDK version in the right hand pane.
5) Read Matt Chotin’s page (linked to above) to see if any of the manual post-upgrade procedures apply to you. They did not apply to me.
Good luck.