Sandboxtype (Security.sandboxtype Property) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

Because the ability to connect to ports lower than 1024 is new, a policy file loaded with
must always authorize this connection, even when a movie clip is
loadPolicyFile()
connecting to its own subdomain.
For more information, see the following:
Chapter 17, "Understanding Security," in Learning ActionScript 2.0 in Flash
The Flash Player 8 Security white paper at http://www.macromedia.com/go/fp8_security
The Flash Player 8 Security-Related API white paper at http://www.macromedia.com/go/
fp8_security_apis
Availability: ActionScript 1.0; Flash Player 7,0,19,0
Parameters
- A string; the URL where the cross-domain policy file to be loaded is located.
url:String

sandboxType (security.sandboxType property)

public static sandboxType : String [read-only]
Indicates the type of security sandbox in which the calling SWF file is operating.
System.security.sandboxType
: This SWF file is from an Internet URL, and will operate under domain-based
remote
sandbox rules.
: This SWF file is a local file, and has not been trusted by the user, and
localWithFile
was not published with a networking designation. This SWF file may read from local data
sources, but may not communicate with the Internet.
localWithNetwork
was published with a networking designation. This SWF may communicate with the
Internet, but may not read from local data sources.
: This SWF file is a local file, and has been trusted by the user, using either
localTrusted
the Settings Manager or a FlashPlayerTrust configuration file. This SWF file may both
read from local data sources and communicate with the Internet.
has one of the following values:
: This SWF file is a local file, and has not been trusted by the user, and
security (System.security)
1067

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF