Have you ever clicked on an internal Flash class and got the message, "Source could not be found for [className] in airglobal.swc"? Well, now if you ever wanted to learn about how core Flash API works you can do so here <https://github.com/adobe/avmplus/tree/master/core>. The source was added to GitHub a few years ago without much fanfare but it's new to me.
For example, if you wanted to learn how the AS3 JSON class works you can read the class here <https://github.com/adobe/avmplus/blob/master/core/JSON.as>. The code looks like it's in C, C++ or a form of AS3 that uses keywords like native and metadata. A bit earlier than that the Flex SDK design docs were released here <https://sourceforge.net/adobe/flexsdk/wiki/browse_pages/?limit=250>. There's also a project setup that may make it possible to package an updated WebKit in your AIR projects here <https://github.com/adobe/WebkitAIR>.