MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH Manual page 686

Learning actionscript 2.0 in flash
Table of Contents

Advertisement

Local SWF files
SWF files that operate with local file systems or UNC network paths are
placed into one of three sandboxes in Flash Player 8. By default, local SWF files are placed in
the local-with-file-system sandbox. Local SWF files that are registered as trusted (using a
configuration file) are placed in the local-trusted sandbox. For information on the three
sandboxes, see
"Access local files only (default)" on page
For more information on the security sandbox, see
on page
680.
The first two permission levels are set in the Flash authoring environment, and the third is set
using the Global Security Settings panel or the FlashAuthor.cfg file. The following example
shows what options are available when you publish a file for testing on your local hard disk.
To publish a document with a specified permission level:
1.
Open the FLA file for which you want to specify a permission level.
2.
Select File > Publish Settings > Flash.
3.
Find the Local Playback Security dialog box, and select one of the following options from
the pop-up menu:
Access local files only (See
Access network only (See
4.
Click OK to continue authoring the FLA file, or click Publish to create the SWF file.
For more information on levels of permission that you can set for your applications, see
"Access local files only (default)" on page
"Access file system and network" on page
Access local files only (default)
To set this permission level, select Publish Settings > Flash, and then select Access Local Files
Only from the Local Playback Security pop-up menu. This permission level lets a local SWF
file access only the local file system where the SWF file is running. The SWF file can read
from known files on the local disk without any restrictions. However, the following
restrictions apply to the application accessing the network:
The SWF file cannot access the network in any way. The SWF file cannot cross-script
network SWF files, or be cross-scripted by network SWF files.
The SWF file cannot communicate with local SWF files that have permission to access the
network only, and the SWF file cannot communicate with HTML pages. However, in
some cases communication is allowed, such as if the HTML is trusted and
allowScriptAccess
file is Flash Player 7 or earlier.
686
Understanding Security
"Access local files only
"Access network
686,
687.
is set to
or if
always
686.
"Understanding local security sandboxes"
(default)")
only")
"Access network only" on page
allowScriptAccess
687, and
is not set and the SWF

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents