Platform.environment

Availability

Flash Player 7 + TheSpringBox V1

Usage

Platform.environment:String

Description

Read-only property; a string describing the environment in which the widget is running. Is set to either desktop or browser. This value will not change during run-time of a widget instance.

Example

The following example shows how you might use the environment property.

if(Platform.environment == "desktop") {
  // Do Something.
}