60
Server-Side ActionScript Language Reference
Example
The following example defines a function that is called whenever an undefined property is
referenced:
Client.prototype.__resolve = function (name) {
return "Hello, world!";
};
function onConnect(newClient){
// Prints "Hello World".
trace (newClient.property1);
}
Client.secure
Availability
Flash Media Server 2.
Usage
clientObject
.secure
Description
Property (read-only); a Boolean value that indicates whether an Internet connection is secure
(
true
) or not (
false
).
See also
NetConnection.connect()
Client.setBandwidthLimit()
Availability
Flash Communication Server MX 1.0.
Usage
clientObject
.setBandwidthLimit(
iServerToClient, iClientToServer
)
Parameters
iServerToClient
A Number; the bandwidth from server to client, in bytes per second. Use
0 if you don’t want to change the current setting.
iClientToServer
A Number; the bandwidth from client to server, in bytes per second. Use
0 if you don’t want to change the current setting.
Содержание FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT...
Страница 1: ...Server Side ActionScript Language Reference...
Страница 4: ...4 Contents...
Страница 228: ...228 Server Side ActionScript Language Reference...
Страница 234: ...234 Server Side Information Objects...