Macromedia flash media server 2-client-side actionscript language reference for flash media server 2 ユーザーズマニュアル

ページ / 156
152
Client-Side Information Objects
NetConnection information objects
The following events notify you when certain NetConnection activities occur: 
NetStream information objects
The following messages notify you when certain NetStream activities occur:
Code property
Level property
Meaning
NetConnection.Call.Failed
Error
The 
NetConnection.call () 
method was not able to 
invoke the server-side 
method or command.*
*
This information object also has a 
description
 property, which is a string that provides a 
more specific reason for the failure.
NetConnection.Connect.AppShutdown
Error
The application has been shut 
down (for example, if the 
application is out of memory 
resources and must be shut 
down to prevent the server 
from crashing) or the server 
has been shut down.
NetConnection.Connect.Closed
Status
The connection was 
successfully closed.
NetConnection.Connect.Failed
Error
The connection attempt 
failed; for example, the server 
is not running.
NetConnection.Connect.Rejected
Error
The client does not have 
permission to connect to the 
application, or the application 
expected different 
parameters from those that 
were passed, or the 
application specifically 
rejected the client.†
This information object also has an 
application
 property, which contains the value 
returned by the 
application.rejectConnection()
 server-side method.
NetConnection.Connect.Success
Status
The connection attempt 
succeeded.