Uh-oh, sounds like it's time for... Flash Evangelist Man!
The
Flex SDK contains the official command-line compiler for ActionScript 3, called MXMLC. It is free. If you want an IDE, you'll need to pay for Flex Builder, or get
FlashDevelop, a free IDE for Windows (it only lacks some debugging features). At a high level, the ActionScript language is a lot like Java, though the libraries are different and the compilation process is different and the way you interact with the screen, mouse, keyboard, internet, and other devices is simplified. The
online Flash library reference is terrific if you know more or less what you're looking for. There are various tutorials online to help you get started.
It is my opinion that, as long as you're not trying to push the limits of the hardware or earn any money, Flash is the best 2D game development platform for PC/Mac/Linux today.
What you CAN'T do for free is make tweening vector animations... which are what Flash is known for, actually, but those aren't really important for many Box2D projects anyway. You are still able to import bitmaps and put them on the screen, and you can programmatically draw arbitrary polygons and circles and lines, so the Flash CS3 animation authoring tool isn't useful if you're not an artist.
Some Flash programs use an additional language called MXML that is a sort of super-set of ActionScript with a separate syntax designed for GUI development. MXML is very useful, but it is not necessary if you don't want to learn it. All of the core features of the Flash platform are exposed to ActionScript. The example programs that come with Box2DFlashAS3 do not use MXML. The free MXMLC compiler that comes with the Flex SDK is what you use to compile pure ActionScript.
The example programs that come with Box2DFlashAS3 include a ".fla" project file that can only be compiled with the commercial Flash CS3 authoring tool, but it turns out you can also compile these programs just by running this on the command line: