My code:
public function netStatusHandler( event:NetStatusEvent ):void
{
switch( event.info.code ) {
case "NetConnection.Connect.Success":
vsMain.selectedChild = pnlVideo;
break;
case "NetConnection.Connect.Closed":
vsMain.selectedChild =
pnlConnClosed;
break;
case "NetConnection.Connect.Failed":
vsMain.selectedChild = pnlConnFailed;
break;
}
}
nc.addEventListener( NetStatusEvent.NET_STATUS, netStatusHandler );
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Johannes Nel
Sent: Monday, March 05, 2007 2:37 PM
To: [email protected]
Subject: Re: [Red5] Netconnection status
rejection is an explicit rejection. use "NetConnection.Connect.Failed"
On 3/5/07, Muller Jan <[EMAIL PROTECTED] > wrote:
Hi,
How to obtain an info that server is not running. I try to use status
event "NetConnection.Connect.Rejected", but nothing happen.
Thx...
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org
--
j:pn
http://www.lennel.org
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org