The NetConnection Object


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:

     myConn_nc.connect(null); 

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.




Macromedia Flash Professional 8 Unleashed
Macromedia Flash Professional 8 Unleashed
ISBN: 0672327619
EAN: 2147483647
Year: 2005
Pages: 319

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net