Server-Side Communication ActionScript > Application.hostname

 

Application.hostname

Availability

Flash Player 6

Flash Communication Server MX 1.5

Usage

application.hostname

Description

Property (read-only); contains the hostname of the server for default virtual hosts and the virtual hostname for non-default virtual hosts.

Example

The following example traces the name of the host running the current application to the Output window.

trace( application.hostname )