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, __proto__, prototype, __resolve


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, hasOwnProperty, isPropertyEnumerable, isPrototypeOf, registerClass, toString, unwatch, valueOf, watch



Version 8

 

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

Current page: http://livedocs.adobe.com/flash/8/main/00002646.html