The NetConnection Object
The NetConnection object allows users of the Flash 7 Player or later to stream video or audio directly into Flash. If NetConnection is used in the Flash 6 Player, it must be in conjunction with the Flash Communication Server.It has a single method, the connect() method, and here is its general layout:
When you call the connect method, you pass the parameter null so that it will create a local connection.This object by itself is useless, but in conjunction with the NetStream object, it is very important.
myConn_nc.connect(null);