<script type="application/x-shockwave-flash" src="js/as3httpclientlib-1_0_6.swc"></script>
Should then be able to do:
var client = new window.runtime.... something or other as per http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7ed9. html
Yet every combination there seems to fail. There's no error being generate about the SWC not loading... any ideas?
Ah so I unzip the sxc and get at the swf inside. Then it loads correctly.
But then I get this:
VerifyError: Error #1014: Class com.adobe.net::URI could not be found
Only the flash.* packages are built in to AIR (and Flash Player). com.adobe.net::URI is referenced by the library you are using, but it looks like it hasn't been compiled in. You can either import a second library containing the necessary classes, or you can recompile the primary library so that it includes the classes it depends on.
For the URI class, you can go here: http://code.google.com/p/as3corelib/source/browse/#svn/trunk/src/com/adobe/net