Access network only
To set this permission level, select Publish Settings > Flash, and then select Access Network
Only from the Local Playback Security pop-up menu. Local SWF files with network access
can read from a server if the server contains a cross-domain policy file with
from-domain= "*">
the other SWF files, which are being accessed, contain
System.security.allowDomain("*")
scripted by network SWF files if the local SWF file contains
file can never read from local files. In some cases, the type of SWF file affects the access. For
information, see allowDomain (
2.0 Language Reference.
The wildcard (
) value indicates that all domains, including local hosts, are allowed access. Be
*
certain you want to provide this broad level of access before using the wildcard argument.
Without any of these permissions, local SWF files with network access can communicate only
with other local SWF files that have network access, and they can send data to servers (using
, for example). In some cases, access is allowed if the HTML file is trusted.
XML.send()
Access file system and network
This level is the highest level of permission. A local SWF file that has these permissions is a
trusted local SWF file. Trusted local SWF files can read from other local SWF files, interact
with any server, and write ActionScript for other SWF files or HTML files that have not
explicitly forbidden the file permission (for example, with
This level of permission can be granted by the user or Flash developer in the following ways:
Using the Global Security Settings panel in the Settings Manager.
Using a global configuration file.
A configuration file can be installed with the SWF file, created by a Flash developer, or
added by an administrator (for all users or the current user) or any Flash developer (for the
current user).
For more information on configuration files and the Global Security Settings panel, see
"About Flash Player security settings" on page 681
Settings Manager" on page 688
on page
690.
. Local SWF files with network access may cross-script other SWF files if
. A local SWF file with network access can be cross-
security.allowDomain method)
and
"Creating configuration files for Flash development"
allowDomain("*")
in the ActionScript
allowScriptAccess="none"
and
"Specifying trusted files using the
About local file security and Flash Player
<allow-access-
. The SWF
).
687
Need help?
Do you have a question about the FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH and is the answer not in the manual?