Flash Lite 2.x and 3.0 ActionScript Language Reference

security (System.security)

Object
    |
    +-System.security

public class security
extends Object

The System.security class contains methods that specify how SWF files in different domains can communicate with each other.

Property summary

Properties inherited from class Object

constructor (Object.constructor property), __proto__ (Object.__proto__ property), prototype (Object.prototype property), __resolve (Object.__resolve property)

Method summary

Modifiers

Signature

Description

static

allowDomain(domain1:String) : Void

Lets SWF files and HTML files in the identified domains access objects and variables in the calling SWF file or in any other SWF file from the same domain as the calling SWF file.

static

allowInsecureDomain(domain:String) : Void

Lets SWF files and HTML files in the identified domains access objects and variables in the calling SWF file, which is hosted using the HTTPS protocol.

static

loadPolicyFile(url:String) : Void

Loads a cross-domain policy file from a location specified by the url parameter.

Methods inherited from class Object

addProperty (Object.addProperty method), hasOwnProperty (Object.hasOwnProperty method), isPropertyEnumerable (Object.isPropertyEnumerable method), isPrototypeOf (Object.isPrototypeOf method), registerClass (Object.registerClass method), toString (Object.toString method), unwatch (Object.unwatch method), valueOf (Object.valueOf method), watch (Object.watch method)