Kaolin Fire with GUD Issues 0 through 5

kaolin fire presents :: AS3 101 :: setting up your environment


Getting to know mxmlc...if you have to


Getting Started

How to get going with AS3 for $0 a day, on Windows, Ubuntu, or OS X

Elements of Flash Development

At the simplest, flash development just requires the (free) Flex SDK from Adobe. The current version is 4.x. I will mention a few relevant differences between Flex 3 and Flex 4 as we go. Depending on your bent, you can use the fully open-source version, or the "free as in beer, not freedom" partially closed-source version. I've always used the "free as in beer" version. For our purposes, the Flash SDK requires Java 1.6+ to be installed.

You will also want the Adobe-supplied debuggers. You can get along with just grabbing one, but I always get the set (ActiveX, plugin, and projector).

Okay, things to download:

  • JRE 1.6+
  • Flash Player debuggers
  • Flex SDK (we'll be focusing on 4.x, go ahead and get the "latest production quality release" or "latest milstone build" depending on how they're talking about it. unless you prefer 3.) Unless you're on windows, at which point just let FlashDevelop install it for you!

Windows

I strongly recommend going the FlashDevelop route. This will wrap the Flex SDK for you in a delightul, intellisense-style IDE. Go to the FlashDevelop homepage, note the "LATEST RELEASE" box on the right side, and select "Release notes and download". As of 2011-05-26, the latest release is 3.3.4, if that matters any. I've been using FlashDevelop for 1.5 years, and have always upgraded painlessly.

Else, just follow the Mac OSX/Linux directions. ;)

Mac OSX/Linux

After unzipping the flex sdk, you'll want to put it somewhere, and then put its "bin" directory in your path. You'll be doing your development from a terminal or shell. So to make sure it's all good, type "mxmlc". If it says "command not found", you're not ready.

Well, then

Let's move on to the first tutorial and see if you've got it.





I am soooo fake pre-loading this image so the navigation doesn't skip while loading the over state.  I know I could use the sliding doors technique to avoid this fate, but I am too lazy.