Client-side ActionScript
NetConnection.connect
New Client object
(not accepted or rejected yet)
How to use
application.onConnect
Description
Event handler; invoked on the server side when
client side and a client attempts to connect to an application instance. You can define a
function for the
application.onConnect
connections are accepted by default. If the server accepts the new connection, the
application.clients
You can use the
application.onConnect
authentication. All the information required for authentication should be sent to the server by
the client as parameters (
can set the access rights to all server-side objects that this client can modify by setting the
Client.readAccess
Accepted
client
true, acceptConnection
Server-side ActionScript
Application.onConnect
false, rejectConnection
Rejected
client
to accept, reject, or put a client in a pending state.
object is updated.
...,
) that you define. In addition to authentication, the script
p1
pN
and
Client.writeAccess
none, null
NetConnection.connect
event handler. If you don't define a function,
event in server-side scripts to perform
properties.
acceptConnection
Pending client
rejectConnection
is called from the
Application class
31
Need help?
Do you have a question about the FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE and is the answer not in the manual?