PDA

View Full Version : NetConnection.as source


gam
07-29-2004, 06:41 PM
Hi,

I was wondering where I could find the source for the actionscript communication libraraires ie., NetConnection.as

I am interested to look at that part where a http request to a server is made and the response returned back to flash client object.


Thanks
-gam

CyanBlue
07-29-2004, 06:44 PM
Howdy...

Go to the Macromedia's site and look for the Remoting component...
Download and install it...
You should be able to find the file from this directory...

FMX
C:\Program Files\Macromedia\Flash MX\Configuration\Include
FMx 2004
C:\Program Files\Macromedia\Flash MX 2004\en\First Run\Classes

gam
07-29-2004, 06:51 PM
Thanks for the response.
I was able to locate it there.
But there is no implementation in the NetConnection.as or XMLSocket.as
I guess it is kind of like an interface.

In the flash remoting components source, Conneciton.as was extended from NetConnection.as and its connect method call was passed on to super class.

Wondering if you could point where I can find the implentation of how the connection really happens.

Thanks
-gam

gam
07-30-2004, 03:18 PM
I am really looking forward to take a peek at how flash NetConnection components acheive to mantain an open HTTP connection with the server, so that server could send live feeds!!!
I hope someone answers my question:-)