// Find key in Vhost.xml.
key = "Adaptor:_defaultRoot_/VirtualHost:_defaultVhost_/RecordAccessLog";
nc.call("getConfig", new onGetConfig(), key, "/");
// Find key in Application.xml for an application on the virtual host you
// connected to when you logged on to the administration server.
// Note that the previous subkeys and the second parameter "/" are not
necessary.
key = "Application:FinanceApp/RecordAppLog";
nc.call("getConfig", new onGetConfig(), key);
// Find key in Application.xml for an application on a different virtual
host.
key = "Adaptor:_defaultRoot_/VirtualHost:www.redpin.com/
Application:ChatApp/ ¬ RecordAppLog";
nc.call("getConfig', new onGetConfig(), key, "/");
See also
getAdminContext()
getConfig2()
Availability
Flash Player 6.
Flash Media Server 2.
Usage
getConfig2(key ,scope)
Parameters
A string that specifies the configuration key for which information is retrieved.
key
A key is specified as a list of subkeys that are delimited by slashes (
the XML configuration file that contains the desired configuration key. Subsequent subkeys
correspond to tags that are relative to the XML configuration file; the hierarchy and names of
the subkeys match the tags in the XML file. If multiple tags exist with the same name and
same parent, they can be distinguished by specifying a "name" attribute and appending the
"name" attribute to the tag name separated by a colon in the
tag is a leaf node, then its tag data is returned. If the specified tag is not a leaf node, the whole
tag is returned as an XML string.
String; this parameter specifies which configuration file to search for the
scope
configuration tag specified in the
,
setConfig()
parameter.
key
). The first subkey specifies
/
parameter. If the specified
key
getConfig2()
27
Need help?
Do you have a question about the FLASH MEDIA SERVER 2-SERVER MANAGEMENT ACTIONSCRIPT LANGUAGE and is the answer not in the manual?