Server-Side Communication Actionscript; Using Server-Side Actionscript - MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Manual

Server-side communication actionscript dictionary
Table of Contents

Advertisement

Server-Side Communication ActionScript

Server-Side Communication ActionScript is a scripting language on the server that lets you
develop efficient and flexible client-server Macromedia Flash Communication Server MX
applications. For example, you can use server-side ActionScript to control login procedures,
control events in connected Flash movies, determine what users see in their Flash movies, 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) derived
from JavaScript and lets you access the core JavaScript server object model. (For more
information, see the Netscape DevEdge website at http://developer.netscape.com/docs/manuals/
index.html?content=ssjs.html.) Server-side ActionScript provides global methods and objects and
exposes a rich object model for developing communication applications. You can also create your
own objects, properties, and methods. This dictionary provides detailed information about the
objects and their properties, methods, and events.
Client-Side Communication ActionScript is based on the ECMA-262 specification, but there are
some differences in its implementation. Server-side ActionScript, however, does not deviate from
the ECMA-262 specification. To learn how client-side ActionScript and server-side ActionScript
differ, see "Differences between ActionScript and JavaScript" in Using Flash Help. For
information about the relationship between server-side ActionScript and client-side ActionScript,
see Developing Communication Applications.

Using server-side ActionScript

To use server-side ActionScript with a Flash Communication Server application, you write the
code, copy the script into the appropriate server directory, and run the SWF file that connects to
the server. To understand Flash Communication Server applications, see Developing
Communication Applications.
Create the server-side ActionScript file and name it main.asc. All ActionScript code that is
embedded in the script file and not inside a function body executes once when the application is
loaded but before the
event handler is called.
application.onAppStart
Note: Any double-byte characters (including characters of all Asian languages) in the server-side ActionScript file
must be UTF-8-encoded. For more information, see "Writing double-byte language applications" in the
"Application Development Tips and Tricks" chapter in Developing Communication Applications.
Server-Side Communication ActionScript
5

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash communication server mx

Table of Contents