Adobe Flash Media Server

JSEngine

Container element.

The elements nested within this container configure the JavaScript engine.

In the server Application.xml configuration files, you can define properties for the server-side Application object. Defining properties in the default Application.xml file creates properties available for all applications on a virtual host. Defining properties in an Application.xml file in an application folder creates properties available for that application only.

To define a property, create an XML tag. The property name corresponds to the tag's name, and the property value corresponds to the tag's contents.

Example

The following XML fragment defines the properties user_name and dept_name, with the values jdoe and engineering, respectively:

<JSEngine>
    <config>
    <user_name>jdoe</user_name>
    <dept_name>engineering</dept_name>
    </config>
</JSEngine>

To access the property in server-side code, use the syntax in either of these examples:

application.config.prop_name 
application.config["prop_name"]

Note: The properties you define are accessible from application.config.property, not from application.property.

Contained element

RuntimeSize, MaxGCSkipCount, MaxTimeOut (JSEngine), ScriptLibPath, FileObject, XMLSocket, NetConnection

 

Send me an e-mail when comments are added to this page | Comment Report