User Guide
8 Server-Side ActionScript Language Reference
Avoiding reserved commands
Flash Media Server has reserved commands that you cannot use in a script. These commands
are either methods that belong to the client-side NetConnection class or methods that belong
to the server-side Client class. This means that if you have a NetConnection object on the
client (player), you cannot make the following call:
nc.call("reservedCmd", ...);
In this call, "reservedCmd" is any of the following commands: closeStream, connect,
createStream, deleteStream, onStatus, pause, play, publish, receiveAudio,
receiveVideo, or seek. It also cannot be any of the server-side Client class methods:
getBandwidthLimit, setBandwidthLimit, getStats, and ping.
ActionScript classes
The following table lists all the classes in the Server-Side ActionScript Language Reference.
ActionScript class Description
Application class The Application class contains information about a Flash Media
Server application instance that lasts until the application instance
is unloaded.
Client class The Client class lets you handle each user, or
client
, connection to
a Flash Media Server application instance.
File class The File class lets applications write to the server’s file system.
LoadVars class The LoadVars class lets you load variables into a server-side script
from a remote or local location.
Log class The Log class lets you create a Log object that can be passed as
an optional argument to the Constructor for the WebService class.
NetConnection class The server-side NetConnection class lets you create a two-way
connection between a Flash Media Server application instance
and an application server, another Flash Media Server, or another
Flash Media Server application instance on the same server.
SharedObject class The Shared Object class lets you share data between multiple
client applications in real time.
SOAPCall class The SOAPCall class is the object type that is returned from all web
service calls.
SOAPFault class The SOAPFault class is the object type of the error object returned
to
WebService.onFault and SOAPCall.onFault functions.