Source for built-in NetConnection component?
I've been reading the source code for the Flash Remoting Components which is found here:
http://www.adobe.com/products/flashr...nents/#flr_as2
Connection.as extends NetConnection.as which appears to be a class native to Flash. The source code for it is not included with the download and I can't find the source for it on my hard drive anywhere. I searched my entire hard drive and found two classes that appear to be just interfaces -- they don't do anything (see below). Where is the source for the NetConnection class?
I also found a file called NetConnection.aso which appears to be some kind of compiled binary file. I'm guessing the functionality is inside it.
Where can I found out more about what this does?
// C:\Program Files\Macromedia\Flash MX 2004\en\First Run\Classes\NetConnection.as
Code:
intrinsic class NetConnection extends Object {
var isConnected:Boolean;
var uri:String;
function getDebugConfig( id ):NetDebugConfig;
function getDebugID();
function getService( serviceAddress, responder ):Object;
function setCredentials( principal:String, password: String ):Void;
function setDebugID( id ):Void;
function trace( obj ):Void;
function connect(targetURI:String):Boolean;
function close():Void;
function call(remoteMethod:String, resultObject:Object):Void;
function addHeader();
function onStatus(infoObject:Object):Void;
function onResult(infoObject:Object):Void;
}
C:\Documents and Settings\Jaithe\Local Settings\Application Data\Macromedia\Flash MX 2004\en\Configuration\Classes\NetConnection.as
Code:
//****************************************************************************
// ActionScript Standard Library
// NetConnection object
//****************************************************************************
dynamic intrinsic class NetConnection
{
var isConnected:Boolean;
var uri:String;
function NetConnection();
function addHeader();
function call(remoteMethod:String, resultObject:Object):Void;
function close():Void;
function connect(targetURI:String):Boolean;
function onResult(infoObject:Object):Void;
function onStatus(infoObject:Object):Void;
}