
Flash Player 7 + TheSpringBox V1
Platform.environment:String
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.
The following example shows how you might use the environment property.
if(Platform.environment == "desktop") {
// Do Something.
}