User Guide
5
1
CHAPTER 1
Server-Side ActionScript
Language Reference
Server-side ActionScript is a scripting language on the server that lets you develop efficient
and flexible client-server Macromedia Flash Media Server applications. For example, you can
use server-side ActionScript to control log-in procedures, control events in connected
Macromedia Flash applications, determine what users see in their Flash applications, and
communicate with other servers. You can also use server-side scripting to allow and disallow
users access to various server-side application resources and to allow users to update and share
information.
Server-side ActionScript is based on the ECMA-262 specification (ECMAScript 1.5), which
is derived from JavaScript and lets you access the core JavaScript server object model. Server-
side ActionScript provides global methods and classes and exposes a rich object model for
developing media applications. You can also create classes, properties, and methods. This
dictionary provides detailed information about the classes and their properties, methods, and
events.
Client-side ActionScript is based on the ECMA-262 specification but deviates from the
specification in several places. Server-side ActionScript does not deviate from the ECMA-262
specification. For information about the relationship between server-side ActionScript and
client-side ActionScript, see Developing Media Applications.
Using server-side ActionScript
To use server-side ActionScript with a Flash Media Server application, you write the code, add
the script file to the appropriate server directory, and run the SWF file that connects to the
server. To understand the architecture of Flash Media Server and its applications, see
Developing Media Applications.