Application class
27
Usage
application.hostname
Description
Property (read-only); contains the host name of the server for default virtual hosts and the
virtual host name for non-default virtual hosts.
Example
The following example traces the name of the host running the current application:
trace(application.hostname)
Application.name
Availability
Flash Communication Server MX 1.0.
Usage
application.name
Description
Property (read-only); contains the name of the Flash Media Server application instance.
Example
The following example checks the
name
property against a specific string before it executes
some code:
if (application.name == "videomail/work"){
// Insert code here.
}
Application.onAppStart
Availability
Flash Communication Server MX 1.0.
Usage
application.onAppStart = function (){}
Parameters
None.
Содержание FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT...
Страница 1: ...Server Side ActionScript Language Reference...
Страница 4: ...4 Contents...
Страница 228: ...228 Server Side ActionScript Language Reference...
Страница 234: ...234 Server Side Information Objects...