I'm trying to make sense of the whole mess of the Flash platform (mainly so I understand the terms being thrown around) and so far, I haven't been able to figure out how exactly the AIR and Flex SDKs are related. Without actually having looked at the SDKs, my understanding would have been that AIR enables you to develop Flash (i.e. ActionScript, and apparently also JavaScript/HTML) applications that can be run by the AIR runtime without the need of a browser (such as a pure desktop or smartphone application). The Flex SDK appears to be a collection of classes and additional APIs (similar to JavaFX?) to extend the "standard" Flash library.
Now, I've downloaded the most recent versions of both SDKs, and apparently, it's not that simple. So, first I looked at the AIR SDK (http://www.adobe.com/devnet/air/air-sdk-download.html, v3.4 as of now). As far as I can tell, the "adt" utility is the main part of AIR that lets you package finished applications. However, I'm not sure if the AIR SDK actually includes a compiler – say you have a bunch of ActionScript .as files and want to turn them into a .swf or .air file using the AIR SDK, is that even possible?
The Flex SDK (http://www.adobe.com/devnet/flex/flex-sdk-download.html, v4.6 as of now) unfortunately didn't help with the confusion. It does include compilers and other tools, but in its "bin" folder, I could also find "adt" and "adl" – the AIR tools! What's more, it also has "AIR SDK license.pdf" and "AIR SDK readme.txt" files; judging from those, it appears that the Flex SDK includes some older version of the AIR SDK version 2.
To make things even more confusing, I also found a "combined version of the Flex and AIR® SDKs (Flex SDK 4.6.0.23201 and AIR 3.4.0.2540 SDK)" on Adobe's site (http://gaming.adobe.com/getstarted/). It seems that this wasn't merely created by copying the AIR 3.4 files to the Flex 4.6 files, adding yet another item to the list.
So, essentially, I'd like to know the differences between these two (three?) SDKs. Would I need the Flex utilities to compile? Why does the "pure" Flex SDK include parts (?) of AIR? Could I just copy any version of the AIR SDK into a Flex SDK to use both with e.g. FlashDevelop?