A representation of a loading location specified in terms of a base path and
crossdomain policy file to be accessed. To be associated with externally loaded content.
basePath:String [read-write]Implementation
public function get basePath():String
public function set basePath(value:String):void
id:String [read-write]
The identifier used by document to refer to this object.
Implementation
public function get id():String
public function set id(value:String):void
name:String [read-only]
The name that refers to this object.
Implementation
public function get name():String
policyFile:String [read-write]Implementation
public function get policyFile():String
public function set policyFile(value:String):void
requestedPolicyFile:Boolean [read-only]Implementation
public function get requestedPolicyFile():Boolean
public function LoadingLocation(basepath:String = null, policyFile:String = null)Parameters
| basepath:String (default = null) |
| |
| policyFile:String (default = null) |
public static function extractLocation(url:String = null):Object
static utility function to extract location elements from a url or the location of the flex application
Parameters
| url:String (default = null) |
Returns
| Object — an object with protocol, domain, and basepath properties
|
public static function isAbsoluteURL(val:String):Boolean
a simple test to see if the url string is absolute or relative
Parameters
Returns
| Boolean — boolean value indicating whether this url is absolute or not
|
public function requestPolicyFile():void
request the policyFile associated with this location, if it has not already been requested
public function toString():String
Returns