| Tom Bray 2006-01-30, 8:45 pm |
| The AS3 language reference livedocs are down right now, so I can't
find out if there's any documentation about this. I want to be able
to handle the NetConnection.Connect.Success event, but I can't figure
out what the arguments to the nc.addEventListener() method should be.=20
Anybody know?
private function initApp():Void
{
nc =3D new NetConnection();
nc.connect( "rtmp://localhost/as3test" );
//what arguments do I use to listen for success?
nc.addEventListener( "what goes here??", connected, false, 1 );
}
public function connected():Void
{
trace( "connected" );
}
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
|