System.exactsettings - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

System.exactSettings

Availability
Flash Player 7 or later.
Usage
System.exactSettings:Boolean
Description
Property; a Boolean value that specifies whether to use superdomain (
(
) matching rules when accessing local settings (such as camera or microphone access
true
permissions) or locally persistent data (shared objects). The default value is
published for Flash Player 7 or later, and
If this value is
true
directory called here.xyz.com, the settings and data for a SWF file hosted at there.xyz.com are
stored in a directory called there.xyz.com, and so on. If this value is
for SWF files hosted at here.xyz.com, there.xyz.com, and xyz.com are shared, and are all stored in
a directory called xyz.com.
If some of your files set this property to
files in different subdomains share settings and data. For example, if this property is
SWF file hosted at here.xyz.com and
same settings and data—namely, those in the xyz.com directory. If this isn't the behavior you
want, ensure that you set this property in each file to correctly represent where you want to store
settings and data.
If you want to change this property from its default value, do so in the first frame of your
document. The property can't be changed after any activity that requires access to local settings,
such as
System.showSettings()
If you use loadMovie(), MovieClip.loadMovie(), or
SWF file into another, all the files published for Flash Player 7 share a single value for
System.exactSettings
System.exactSettings
for a particular Player version, you should do so in all the files that you plan to load. If you load
multiple files, the setting specified in the last file that's loaded overwrites any previously
specified setting. For more information on how domain matching is implemented in Flash, see
"Flash Player security features" in Using ActionScript in Flash.
false
, the settings and data for a SWF file hosted at here.xyz.com are stored in a
false
true
or
SharedObject.getLocal()
, and all the files published for Flash Player 6 share a single value for
. Therefore, if you specify a value for this property in one file published
for files published for Flash Player 6.
and others set it to
in a SWF file hosted at xyz.com, both files will use the
MovieClipLoader.loadClip()
) or exact domain
false
for files
true
, the settings and data
false
, you might find that SWF
true
false
.
to load one
System.exactSettings
in a
851

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Flash mx

Table of Contents