Flex Builder and Flash 10
I’ve decided to start working on a flash game, and since I’ve used Flex Builder before I’m using it as my IDE. There are instruction here on how to get it to work, but for normal Flex projects you just need to follow a few steps.
The first step is to download Adobe Flex Builder 3. Then to use Flash 10 you need to download the latest nightly SDK, I’m using 3.2.0.3958 (Wed Oct 29 2008).
To install the SDK:
- Create a folder called “3.2.0.3958″ (or the version you downloaded), in “%Program Files%\Adobe\Flex Builder 3\sdks”. Extract the contents of the SDK zip file into there.
- Now go to Flex Builder, go to “Windows”->”Preferences…” (I’ve had problems where some controls dissapear within preferences, if this happens a restart of Flex Builder is required to get them back).
- Navigate to “Flex”->”Installed Flex SDKs”.
- Click “Add…”, enter in the path you extracted the files to and for the name use “Flex 3.2.0.3958″ (or the version you downloaded), and click “OK”.
- Make sure the SDK you added is checked and click “Apply”.
Now two modifications are needed to the project to get it to target the version 10 player.
- Open the project properties, go to “ActionScript Build Path”.
- Expand “Flex 3″, select “playerglobal.swc” and click “Remove”.
- Click “Add SWC” and navigate to the new SDK path, and then deeper into “frameworks/libs/player/10″, select playerglobal.swc.
- Expand “playerglobal.swc”, double-click “Link Type” and change it to “External”.
- Now go to “ActionScript Compiler”
- In “Require Flash Player version” type in 10.0.0.
You should now be able to compile for Flash 10, but you need the debug player to debug:
- Go to http://www.adobe.com/support/flashplayer/downloads.html#fp10
- Unless you’ve changed the debud settings, you will be using IE to debug, so you will need to download “Windows Flash Player 10 ActiveX control content debugger (for IE)”
- Close all browsers and install.
For each new project you create (or old ones you want to update), you will need to do the second part.
Happy ActionScripting!
February 4th, 2009 at 6:07 am
YES!! Thanks sooooo much!
March 22nd, 2009 at 5:24 am
[...] http://rantspace.net/u/redwyre/2008/12/01/flex-builder-and-flash-10/ Possibly related posts: (automatically generated)Sprouts [...]