Macromedia flash media server 2-server-side actionscript language reference Manual De Usuario
5
Server Management ActionScript
Language Reference
Language Reference
Macromedia Flash Media Server includes a set of advanced methods, the Server Management
ActionScript application programming interface (API), that lets you extend the management
console or make your own administration and monitoring tools by creating Macromedia
Flash applications.
ActionScript application programming interface (API), that lets you extend the management
console or make your own administration and monitoring tools by creating Macromedia
Flash applications.
This document describes the Server Management ActionScript API. For information about
ActionScript, see the ActionScript 2.0 Language Reference. For information about Flash Media
Server, see the Client-Side ActionScript Language Reference for Flash Media Server 2, the
Server-Side ActionScript Language Reference, and Managing Flash Media Server.
ActionScript, see the ActionScript 2.0 Language Reference. For information about Flash Media
Server, see the Client-Side ActionScript Language Reference for Flash Media Server 2, the
Server-Side ActionScript Language Reference, and Managing Flash Media Server.
Using the Server Management
ActionScript API
ActionScript API
To use the Server Management ActionScript API, you need to have Flash and Flash Media
Server installed, and you need to have administrative access to Flash Media Server. You should
be fluent in ActionScript and in creating Flash applications.
Server installed, and you need to have administrative access to Flash Media Server. You should
be fluent in ActionScript and in creating Flash applications.
Establishing the connection to the server
Flash Media Server communicates on port 1935 (the default port). However, to use the Server
Management ActionScript API, you must connect to Flash Media Server through the
administration server on port 1111.
Management ActionScript API, you must connect to Flash Media Server through the
administration server on port 1111.
You establish a connection using the
NetConnection.connect()
method, passing in three
parameters: the URI of the host administration server, an administrator user name, and an
administrator password.
administrator password.
NO
TE
This document assumes that you have not changed the default port number for the
administration server; if you have, use your valid port number instead of port 1111.
administration server; if you have, use your valid port number instead of port 1111.