Building The Symbol Map; Configurable Application Object Properties For Server-Side Scripting - MACROMEDIA FLASH MEDIA SERVER 2-MANAGING FLASH MEDIA SERVER Manual

Managing flash media server
Table of Contents

Advertisement

Building the symbol map

You may use a symbol anywhere, such as in the substitution.xml file, or any of the external
configuration files, as long as it has been defined before the server encounters it. The server
builds the symbol map in the following order:
1.
The predefined symbols
2.
The fms.ini file is evaluated next.
3.
If the substitution.xml file exists, the server looks for the
child tags in the order in which they appear.
4.
The server finds each
which they appear. Symbols defined in these external configuration files are processed in
the order in which they appear in each file.
Configurable application object
properties for server-side scripting
Flash Media Server 2 supports configuration tags that enhance the server-side application
object. You can now define properties for the application object within the server's XML
configuration files.
To define properties of the application object, specify the custom configuration tags in the
section of the Application.xml file. The property name corresponds to the tag's
JSEngine
name, and the property value corresponds to the tag's contents.
For example, the following XML fragment defines the properties
with the values
jdoe
<Application>
<JSEngine>
<config>
<user_name>jdoe</user_name>
<dept_name>engineering</dept_name>
</config>
</JSEngine>
</Application>
To access the property in server-side code, use the syntax in either of these examples:
application.config.prop_name
application.config["prop_name"]
82
Deploying Flash Media Server
and
ROOT
CONF
tag, and processes the specified files in the order in
KeyValueFile
and
, respectively:
engineering
are evaluated first.
Symbols
tag and processes the
and
user_name
dept_name
,

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MEDIA SERVER 2-MANAGING FLASH MEDIA SERVER and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash media server 2

Table of Contents