Defines the bing environemnt type. By default the environment is determined by checking the Security.sandboxType property.
If running in a remote sandbox, then the production environment will be selected, otherwise the staging environment is set.
You can forse the environment, thus cancelling the automatic detection:
import com.afcomponents.umap.providers.microsoft.BingEnvironment;
// force staging environment
BingEnvironment.type = BingEnvironment.STAGING;
The environment setting is used by all the Bing services:
type:String [read-write]
Gets or sets current Bing service environment. Valid values are STAGING or PRODUCTION.
If null value is set (default) the environment will be determined automatically.
Implementation
public static function get type():String
public function set type(value:String):void
public static const PRODUCTION:String = "production"
public static const STAGING:String = "staging"
© 2007-2009 advanced flash components