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.

For more information, see the following:

Availability: ActionScript 1.0; Flash Player 6

Property summary

Modifiers

Property

Description

static

sandboxType:String [read-only]

Indicates the type of security sandbox in which the calling SWF file is operating.

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 SWF file that contains the allowDomain() call.

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 by means of 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)



Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00002103.html