Flash Media Interactive Server and Flash Media Development Server provide access to Server-Side ActionScript. You can write server-side code to control log-in procedures, republish content to other servers, allow and disallow users access to server resources, and to allow users to update and share information.
Server-Side ActionScript is Adobe's name for JavaScript 1.5, which is similar, but not identical to, ActionScript 1.0. Both languages are based on ECMAScript Language Specification Edition 3, but ActionScript 1.0 did not implement the specification exactly. Server-Side ActionScript runs in the Mozilla SpiderMonkey engine embedded in Flash Media Server.
The following are the Server-Side ActionScript classes:
Application
A singleton class that represents an instance of an application in a server-side script. Use the Application class event handlers to control the flow of code in an application and to accept, reject, or redirect connections.
Client
Represents a client connected to an application. The server creates a client object each time a client connects. Use this class to get information about a client, set read and write access to server resources, and for remote method invocation.
File
Lets applications write to the server's file system. Use this class to store information without using a database, to create log files for debugging, or to track usage.
LoadVars
Use this class to send variables in an object to a specified URL and load variables at a specified URL into an object over HTTP.
Log
Use this class to create log files when using web services.
NetConnection
Creates a two-way connection between Flash Media Interactive Server (or Flash Media Development Server) and an application server, another Flash Media Interactive Server (or Flash Media Development Server), or another application instance on the same server.
NetStream
Opens a one-way stream through a NetConnection object between two installations of Flash Media Server.
SharedObject
Stores data on the server and shares data between multiple client applications in real time.
SOAPCall
The object type returned from all web service calls.
SOAPFault
The object type of the error object returned to WebService.onFault() and SOAPCall.onFault().
Stream
Use this class to manage or republish streams. For example, use the Stream class to create server-side playlists. You can also use this class to send data to clients subscribed to a stream and to add metadata to a live stream.
WebService
Use this class to create and access a WSDL/SOAP web service.
XML
Use this class to load, parse, send, build, and manipulate XML document trees.
XMLSocket
Use this class to implement client sockets that let Flash Media Server communicate with another server identified by an IP address or domain name.
XMLStreams
A variation of the XMLSocket class that transmits and receives data in fragments.
For more information, see the Server-Side ActionScript Language Reference.
Send me an e-mail when comments are added to this page | Comment Report