The NetConnection object allows users of the Flash 7 Player 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: